Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 159581 - net-www/mod_ssl: Insecure /tmp file usage.
Summary: net-www/mod_ssl: Insecure /tmp file usage.
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Security
Classification: Unclassified
Component: Vulnerabilities (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Security
URL:
Whiteboard: B3? [ebuild?++]
Keywords:
Depends on:
Blocks:
 
Reported: 2006-12-31 08:46 UTC by Vic Fryzel (shellsage) (RETIRED)
Modified: 2007-05-12 22:37 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vic Fryzel (shellsage) (RETIRED) gentoo-dev 2006-12-31 08:46:39 UTC
The file gentestcrt.sh distributed with net-www/mod_ssl makes insecure usage of files in /tmp.  The directory /tmp/tmpssl-$$ is created.  A local attacker could run a script to wait for the gentestcrt.sh process to start, and get the process ID of the script.  Then, the attacker could create that directory before the script had a chance, and create symlinks in the directory.  Since the files used by gentestcrt.sh could already exist as symlinks, the overwriting of arbitrary files on the filesystem would be possible.  Please create these temporary files using either `tempfile` or `mktemp`.
Comment 1 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2007-01-06 12:48:53 UTC
apache-bugs please advise.
Comment 2 Matthias Geerdsen (RETIRED) gentoo-dev 2007-03-16 15:23:09 UTC
any news here? anyone got a patch?
Comment 3 Sune Kloppenborg Jeppesen (RETIRED) gentoo-dev 2007-03-25 10:41:09 UTC
Apache, any news on this one?
Comment 4 Christian Heim (RETIRED) gentoo-dev 2007-05-07 14:15:43 UTC
(In reply to comment #3)
> Apache, any news on this one?

apache-1 and all dependent modules (like mod_ssl) will get masked once the Apache article is published in next (hopefully) week's GWN.
Comment 5 Luca Longinotti (RETIRED) gentoo-dev 2007-05-12 22:37:17 UTC
Apache1 and all its modules, mod_ssl included, were masked today.
Closing this.
Best regards, CHTEKK.