Login
[x]
Log in using an account from:
Fedora Account System
Red Hat Associate
Red Hat Customer
Or login using a Red Hat Bugzilla account
Forgot Password
Login:
Hide Forgot
Create an Account
Red Hat Bugzilla – Attachment 315445 Details for
Bug 460628
CVE-2008-4982 rkhunter: Insecure auxiliary /tmp file usage (symlink attack possible)
[?]
New
Simple Search
Advanced Search
My Links
Browse
Requests
Reports
Current State
Search
Tabular reports
Graphical reports
Duplicates
Other Reports
User Changes
Plotly Reports
Bug Status
Bug Severity
Non-Defaults
|
Product Dashboard
Help
Page Help!
Bug Writing Guidelines
What's new
Browser Support Policy
5.0.4.rh83 Release notes
FAQ
Guides index
User guide
Web Services
Contact
Legal
This site requires JavaScript to be enabled to function correctly, please enable it.
[patch]
proposed patch using mktemp
rkhunter-1.3.2-debugtmp.patch (text/plain), 1.08 KB, created by
Kevin Fenzi
on 2008-08-31 16:25:20 UTC
(
hide
)
Description:
proposed patch using mktemp
Filename:
MIME Type:
Creator:
Kevin Fenzi
Created:
2008-08-31 16:25:20 UTC
Size:
1.08 KB
patch
obsolete
>diff -Nur rkhunter-1.3.2.orig/files/rkhunter rkhunter-1.3.2/files/rkhunter >--- rkhunter-1.3.2.orig/files/rkhunter 2008-02-27 08:59:22.000000000 -0700 >+++ rkhunter-1.3.2/files/rkhunter 2008-08-31 10:22:20.000000000 -0600 >@@ -41,18 +41,18 @@ > fi > > if [ "$1" = "--debug" ]; then >- if [ -e "/tmp/rkhunter-debug" ]; then >- if [ -f "/tmp/rkhunter-debug" -a ! -h "/tmp/rkhunter-debug" ]; then >- rm -f /tmp/rkhunter-debug >/dev/null 2>&1 >- else >- echo "Cannot use '--debug' option. /tmp/rkhunter-debug already exists, but it is not a file." >- exit 1 >- fi >- fi >- >- DEBUG_OPT=1 >- >- exec 1>/tmp/rkhunter-debug 2>&1 >+ DEBUG_FILE=`mktemp -t rkhunter-debug.XXXXXXXXXX` >+ if [ -e "$DEBUG_FILE" ]; then >+ if [ -f "$DEBUG_FILE" -a ! -h "$DEBUG_FILE" ]; then >+ rm -f $DEBUG_FILE >/dev/null 2>&1 >+ else >+ echo "Cannot use '--debug' option. $DEBUG_FILE already exists, but it is not a file." >+ exit 1 >+ fi >+ fi >+ >+ DEBUG_OPT=1 >+ exec 1>$DEBUG_FILE 2>&1 > set -x > else > DEBUG_OPT=0
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 460628
: 315445