Bug 1174057 (CVE-2014-8108)
| Summary: | CVE-2014-8108 subversion: NULL pointer dereference flaw in mod_dav_svn when handling URIs for virtual transaction names | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [Other] Security Response | Reporter: | Murray McAllister <mmcallis> | ||||||
| Component: | vulnerability | Assignee: | Red Hat Product Security <security-response-team> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | |||||||
| Severity: | medium | Docs Contact: | |||||||
| Priority: | medium | ||||||||
| Version: | unspecified | CC: | jorton, jrusnack, magoldma, security-response-team, sisharma | ||||||
| Target Milestone: | --- | Keywords: | Security | ||||||
| Target Release: | --- | ||||||||
| Hardware: | All | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | subversion 1.7.19, subversion 1.8.11 | Doc Type: | Bug Fix | ||||||
| Doc Text: |
A NULL pointer dereference flaw was found in the way the mod_dav_svn module handled certain requests for URIs that trigger a lookup of a virtual transaction name. A remote, unauthenticated attacker could send a request for a virtual transaction name that does not exist, causing mod_dav_svn to crash.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2015-02-11 05:09:02 UTC | Type: | --- | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Bug Depends On: | 1174521, 1180624, 1180625 | ||||||||
| Bug Blocks: | 1174061 | ||||||||
| Attachments: |
|
||||||||
|
Description
Murray McAllister
2014-12-15 02:46:01 UTC
Created attachment 968772 [details]
1.7.18 patch from upstream
Created attachment 968773 [details]
1.8.10 patch from upstream
External References: http://subversion.apache.org/security/CVE-2014-8108-advisory.txt Created subversion tracking bugs for this issue: Affects: fedora-all [bug 1174521] subversion-1.8.11-1.fc20 has been pushed to the Fedora 20 stable repository. If problems still persist, please make note of it in this bug report. subversion-1.8.11-1.fc21 has been pushed to the Fedora 21 stable repository. If problems still persist, please make note of it in this bug report. Analysis
========
In functions parse_vtxnstub_uri(), parse_vtxnroot_uri(), prep_working() there are missing sanity checks whether virtual transaction names are legitimate or not, If the Virtual Transaction name is not set or is NULL will cause crash due to NULL pointer dereference.
In function static int
parse_vtxnstub_uri(dav_resource_combined *comb,
const char *path,
const char *label,
int use_checked_in)
{
when txt_name is not set or is NULL and following line would cause crash
comb->priv.root.vtxn_name = comb->priv.root.txn_name;
same sanity check is missing at various other places in the code
Statement: This issue did not affect the versions of subversion as shipped with Red Hat Enterprise Linux 5 and 6. This issue has been addressed in the following products: Red Hat Enterprise Linux 7 Via RHSA-2015:0166 https://rhn.redhat.com/errata/RHSA-2015-0166.html |