Bug 1886967 (CVE-2001-0131) - CVE-2001-0131 httpd: allows local users to overwrite arbitrary files via a symlink attack
Summary: CVE-2001-0131 httpd: allows local users to overwrite arbitrary files via a sy...
Keywords:
Status: CLOSED NOTABUG
Alias: CVE-2001-0131
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
low
low
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1886968
TreeView+ depends on / blocked
 
Reported: 2020-10-09 20:30 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-02-16 19:07 UTC (History)
20 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in Apache httpd. Both htpasswd and htdigest allow local users to overwrite arbitrary files via a symlink attack. The highest threat from this vulnerability is to data integrity.
Clone Of:
Environment:
Last Closed: 2020-10-14 06:26:18 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2020-10-09 20:30:25 UTC
htpasswd and htdigest in Apache 2.0a9, 1.3.14, and others allows local users to overwrite arbitrary files via a symlink attack.

Reference:
http://www.securityfocus.com/bid/2182

Comment 1 Ted Jongseok Won 2020-10-12 01:09:51 UTC
This vulnerability is out of security support scope for the following product:
 * Red Hat JBoss Enterprise Web Server 2

Please refer to https://access.redhat.com/support/policy/updates/jboss_notes for more details.

Comment 2 Joe Orton 2020-10-12 08:35:08 UTC
It's hard to see from the description, but I'm guessing this is about unsafe temp file creation in e.g.:

https://github.com/apache/httpd/blob/1.3.x/src/support/htpasswd.c#L525

this will not affect any httpd 2.x release, which uses APR's safe temp file creation based off mkstemp().

Comment 5 Huzaifa S. Sidhpurwala 2020-10-14 06:25:08 UTC
Statement:

All versions of httpd package shipped with Red Hat Products, uses APR's safe temp file creation and therefore they are not affected by this flaw


Note You need to log in before you can comment on or make changes to this bug.