CVE-2012-0787 (GCVE-0-2012-0787)
Vulnerability from cvelistv5 – Published: 2013-11-23 18:00 – Updated: 2024-08-06 18:38
VLAI
EPSS
VEX
Summary
The clone_file function in transfer.c in Augeas before 1.0.0, when copy_if_rename_fails is set and EXDEV or EBUSY is returned by the rename function, allows local users to overwrite arbitrary files and obtain sensitive information via a bind mount on the (1) .augsave or (2) destination file when using the backup save option, or (3) .augnew file when using the newfile save option.
Severity
No CVSS data available.
CWE
- n/a
Assigner
References
5 references
| URL | Tags |
|---|---|
| http://secunia.com/advisories/55811 | third-party-advisoryx_refsource_SECUNIA |
| http://augeas.net/news.html | x_refsource_CONFIRM |
| https://bugzilla.redhat.com/show_bug.cgi?id=772261 | x_refsource_CONFIRM |
| http://rhn.redhat.com/errata/RHSA-2013-1537.html | vendor-advisoryx_refsource_REDHAT |
| https://github.com/hercules-team/augeas/commit/b8de6a8c | x_refsource_CONFIRM |
Date Public
2012-12-21 00:00
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2024-08-06T18:38:14.202Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"name": "55811",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA",
"x_transferred"
],
"url": "http://secunia.com/advisories/55811"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "http://augeas.net/news.html"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=772261"
},
{
"name": "RHSA-2013:1537",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT",
"x_transferred"
],
"url": "http://rhn.redhat.com/errata/RHSA-2013-1537.html"
},
{
"tags": [
"x_refsource_CONFIRM",
"x_transferred"
],
"url": "https://github.com/hercules-team/augeas/commit/b8de6a8c"
}
],
"title": "CVE Program Container"
}
],
"cna": {
"affected": [
{
"product": "n/a",
"vendor": "n/a",
"versions": [
{
"status": "affected",
"version": "n/a"
}
]
}
],
"datePublic": "2012-12-21T00:00:00.000Z",
"descriptions": [
{
"lang": "en",
"value": "The clone_file function in transfer.c in Augeas before 1.0.0, when copy_if_rename_fails is set and EXDEV or EBUSY is returned by the rename function, allows local users to overwrite arbitrary files and obtain sensitive information via a bind mount on the (1) .augsave or (2) destination file when using the backup save option, or (3) .augnew file when using the newfile save option."
}
],
"problemTypes": [
{
"descriptions": [
{
"description": "n/a",
"lang": "en",
"type": "text"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2013-11-23T18:28:53.000Z",
"orgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"shortName": "redhat"
},
"references": [
{
"name": "55811",
"tags": [
"third-party-advisory",
"x_refsource_SECUNIA"
],
"url": "http://secunia.com/advisories/55811"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "http://augeas.net/news.html"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=772261"
},
{
"name": "RHSA-2013:1537",
"tags": [
"vendor-advisory",
"x_refsource_REDHAT"
],
"url": "http://rhn.redhat.com/errata/RHSA-2013-1537.html"
},
{
"tags": [
"x_refsource_CONFIRM"
],
"url": "https://github.com/hercules-team/augeas/commit/b8de6a8c"
}
],
"x_legacyV4Record": {
"CVE_data_meta": {
"ASSIGNER": "secalert@redhat.com",
"ID": "CVE-2012-0787",
"STATE": "PUBLIC"
},
"affects": {
"vendor": {
"vendor_data": [
{
"product": {
"product_data": [
{
"product_name": "n/a",
"version": {
"version_data": [
{
"version_value": "n/a"
}
]
}
}
]
},
"vendor_name": "n/a"
}
]
}
},
"data_format": "MITRE",
"data_type": "CVE",
"data_version": "4.0",
"description": {
"description_data": [
{
"lang": "eng",
"value": "The clone_file function in transfer.c in Augeas before 1.0.0, when copy_if_rename_fails is set and EXDEV or EBUSY is returned by the rename function, allows local users to overwrite arbitrary files and obtain sensitive information via a bind mount on the (1) .augsave or (2) destination file when using the backup save option, or (3) .augnew file when using the newfile save option."
}
]
},
"problemtype": {
"problemtype_data": [
{
"description": [
{
"lang": "eng",
"value": "n/a"
}
]
}
]
},
"references": {
"reference_data": [
{
"name": "55811",
"refsource": "SECUNIA",
"url": "http://secunia.com/advisories/55811"
},
{
"name": "http://augeas.net/news.html",
"refsource": "CONFIRM",
"url": "http://augeas.net/news.html"
},
{
"name": "https://bugzilla.redhat.com/show_bug.cgi?id=772261",
"refsource": "CONFIRM",
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=772261"
},
{
"name": "RHSA-2013:1537",
"refsource": "REDHAT",
"url": "http://rhn.redhat.com/errata/RHSA-2013-1537.html"
},
{
"name": "https://github.com/hercules-team/augeas/commit/b8de6a8c",
"refsource": "CONFIRM",
"url": "https://github.com/hercules-team/augeas/commit/b8de6a8c"
}
]
}
}
}
},
"cveMetadata": {
"assignerOrgId": "53f830b8-0a3f-465b-8143-3b8a9948e749",
"assignerShortName": "redhat",
"cveId": "CVE-2012-0787",
"datePublished": "2013-11-23T18:00:00.000Z",
"dateReserved": "2012-01-19T00:00:00.000Z",
"dateUpdated": "2024-08-06T18:38:14.202Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.1",
"vulnerability-lookup:meta": {
"epss": {
"cve": "CVE-2012-0787",
"date": "2026-09-19",
"epss": "0.00413",
"percentile": "0.35298"
},
"nvd": {
"cve": {
"configurations": [
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*",
"matchCriteriaId": "2F6AB192-9D7D-4A9A-8995-E53A9DE9EAFC",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
},
{
"nodes": [
{
"cpeMatch": [
{
"criteria": "cpe:2.3:a:augeas:augeas:*:*:*:*:*:*:*:*",
"matchCriteriaId": "D979BDB9-28B0-400D-B65E-9B548BCDA69F",
"versionEndIncluding": "0.10.0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.1:*:*:*:*:*:*:*",
"matchCriteriaId": "CBD72801-1F4D-4BA5-AB75-8BC61B646E63",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.2:*:*:*:*:*:*:*",
"matchCriteriaId": "57C1BEAB-B9DA-43F9-A2B0-BA55C957308D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.3:*:*:*:*:*:*:*",
"matchCriteriaId": "DAEA5E15-B664-4D81-B5D9-1E8A126B553B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.4:*:*:*:*:*:*:*",
"matchCriteriaId": "54FD4113-4C32-4D58-A42A-5F8F203042EE",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.5:*:*:*:*:*:*:*",
"matchCriteriaId": "C10430FE-B34E-454D-8F67-9F31FB8AE1A3",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.6:*:*:*:*:*:*:*",
"matchCriteriaId": "9DE3B830-29A4-49A5-9EB2-87D02C306E9B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.7:*:*:*:*:*:*:*",
"matchCriteriaId": "B59B7BD0-020B-426E-9024-0E8BB75751DD",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.0.8:*:*:*:*:*:*:*",
"matchCriteriaId": "B62FE3CD-E3F6-4D52-8ABF-04C747D0EDDD",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.1.0:*:*:*:*:*:*:*",
"matchCriteriaId": "063D64F9-5559-49EA-BD71-DAD5C2AA1EE0",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.1.1:*:*:*:*:*:*:*",
"matchCriteriaId": "1E693B26-C911-44EF-861C-C4C4B970E28E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.2.0:*:*:*:*:*:*:*",
"matchCriteriaId": "4CE410BD-F883-46B5-8CF2-3AB6C7B64367",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.2.1:*:*:*:*:*:*:*",
"matchCriteriaId": "3BD5BF14-EFF5-4099-A886-FB9629B91D2A",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.2.2:*:*:*:*:*:*:*",
"matchCriteriaId": "C43D1EBC-3730-432F-B80A-6E4738A72B20",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.0:*:*:*:*:*:*:*",
"matchCriteriaId": "6531B2D8-A14E-4B3F-A000-35123196A731",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.1:*:*:*:*:*:*:*",
"matchCriteriaId": "5E1AADCF-31E0-444A-ADBF-59CC9F1FE989",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.2:*:*:*:*:*:*:*",
"matchCriteriaId": "EB56B2E7-E72D-4D6D-A47D-2B4CB18F95C7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.3:*:*:*:*:*:*:*",
"matchCriteriaId": "10D5AC52-FC81-4136-A867-FD236AB18BD4",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.4:*:*:*:*:*:*:*",
"matchCriteriaId": "74872B68-0D2F-41D6-A287-1F2428280608",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.5:*:*:*:*:*:*:*",
"matchCriteriaId": "F6AD2B6A-9858-4B0D-B937-4D209C31596E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.3.6:*:*:*:*:*:*:*",
"matchCriteriaId": "4C5210B9-7A79-4800-ABF8-62DC41786933",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.4.0:*:*:*:*:*:*:*",
"matchCriteriaId": "2937BD47-29F3-4C5C-96B2-E5CE512ACC9F",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.4.1:*:*:*:*:*:*:*",
"matchCriteriaId": "D1BF93A5-9D16-4D6B-81C4-37E217FCB6C2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.4.2:*:*:*:*:*:*:*",
"matchCriteriaId": "9670552D-DB24-476D-97F0-F90BB56803DF",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.5.0:*:*:*:*:*:*:*",
"matchCriteriaId": "3463B564-C4CF-4D6E-A415-F165E5FE92E2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.5.1:*:*:*:*:*:*:*",
"matchCriteriaId": "A1BD280E-F528-49D6-87B9-C1DFBDC70ACF",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.5.2:*:*:*:*:*:*:*",
"matchCriteriaId": "0B228890-0871-4A07-9F72-8AE0926CC68B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.5.3:*:*:*:*:*:*:*",
"matchCriteriaId": "183E51ED-C320-412D-AB1E-EF592FD364B7",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.6.0:*:*:*:*:*:*:*",
"matchCriteriaId": "6822D53A-76BD-4B8F-8F5C-0FB28FF2975C",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.7.0:*:*:*:*:*:*:*",
"matchCriteriaId": "6581E1FA-8915-4BA6-AA15-56BFF377162B",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.7.1:*:*:*:*:*:*:*",
"matchCriteriaId": "516C852C-1D84-406D-8C33-C097B70DD315",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.7.2:*:*:*:*:*:*:*",
"matchCriteriaId": "9F5ECEE7-069F-4300-A478-9D30EC1FB8DF",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.7.3:*:*:*:*:*:*:*",
"matchCriteriaId": "7B846820-5FB9-416A-8CC2-7CE8248080B2",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.7.4:*:*:*:*:*:*:*",
"matchCriteriaId": "4C8832D6-1513-4EFC-A1DB-80AB6821AE2D",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.8.0:*:*:*:*:*:*:*",
"matchCriteriaId": "A29D0C3D-F960-46B3-85AD-28D5A0BEB97E",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.8.1:*:*:*:*:*:*:*",
"matchCriteriaId": "41FD1FB8-7875-414F-9E37-023C27964AC1",
"vulnerable": true
},
{
"criteria": "cpe:2.3:a:augeas:augeas:0.9.0:*:*:*:*:*:*:*",
"matchCriteriaId": "B301BB9A-2AD9-4860-894E-B82EA35AF3AA",
"vulnerable": true
}
],
"negate": false,
"operator": "OR"
}
]
}
],
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "The clone_file function in transfer.c in Augeas before 1.0.0, when copy_if_rename_fails is set and EXDEV or EBUSY is returned by the rename function, allows local users to overwrite arbitrary files and obtain sensitive information via a bind mount on the (1) .augsave or (2) destination file when using the backup save option, or (3) .augnew file when using the newfile save option."
},
{
"lang": "es",
"value": "La funci\u00f3n clone_file en transfer.c de Augeas anterior a la versi\u00f3n 1.0.0 cuando se establece EXDEV o EBUSY en copy_if_rename_fails es devuelto por la funci\u00f3n rename, permite a usuarios locales sobreescribir archivos arbitrarios y obtener informaci\u00f3n sensible a trav\u00e9s de un bind mount en (1) .augsave o (2) el archivo de destino cuando se usa la opci\u00f3n de guardado de copia de seguridad, o (3) el archivo .augnew cuando se usa la opci\u00f3n de guardado newfile."
}
],
"id": "CVE-2012-0787",
"lastModified": "2026-04-29T01:13:23.040",
"metrics": {
"cvssMetricV2": [
{
"acInsufInfo": false,
"baseSeverity": "LOW",
"cvssData": {
"accessComplexity": "HIGH",
"accessVector": "LOCAL",
"authentication": "NONE",
"availabilityImpact": "PARTIAL",
"baseScore": 3.7,
"confidentialityImpact": "PARTIAL",
"integrityImpact": "PARTIAL",
"vectorString": "AV:L/AC:H/Au:N/C:P/I:P/A:P",
"version": "2.0"
},
"exploitabilityScore": 1.9,
"impactScore": 6.4,
"obtainAllPrivilege": false,
"obtainOtherPrivilege": false,
"obtainUserPrivilege": false,
"source": "nvd@nist.gov",
"type": "Primary",
"userInteractionRequired": true
}
]
},
"published": "2013-11-23T18:55:04.093",
"references": [
{
"source": "secalert@redhat.com",
"url": "http://augeas.net/news.html"
},
{
"source": "secalert@redhat.com",
"tags": [
"Vendor Advisory"
],
"url": "http://rhn.redhat.com/errata/RHSA-2013-1537.html"
},
{
"source": "secalert@redhat.com",
"tags": [
"Vendor Advisory"
],
"url": "http://secunia.com/advisories/55811"
},
{
"source": "secalert@redhat.com",
"tags": [
"Exploit"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=772261"
},
{
"source": "secalert@redhat.com",
"tags": [
"Exploit",
"Patch"
],
"url": "https://github.com/hercules-team/augeas/commit/b8de6a8c"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"url": "http://augeas.net/news.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Vendor Advisory"
],
"url": "http://rhn.redhat.com/errata/RHSA-2013-1537.html"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Vendor Advisory"
],
"url": "http://secunia.com/advisories/55811"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Exploit"
],
"url": "https://bugzilla.redhat.com/show_bug.cgi?id=772261"
},
{
"source": "af854a3a-2127-422b-91ae-364da2661108",
"tags": [
"Exploit",
"Patch"
],
"url": "https://github.com/hercules-team/augeas/commit/b8de6a8c"
}
],
"sourceIdentifier": "secalert@redhat.com",
"vulnStatus": "Modified",
"weaknesses": [
{
"description": [
{
"lang": "en",
"value": "NVD-CWE-noinfo"
}
],
"source": "nvd@nist.gov",
"type": "Primary"
}
]
}
},
"redhat_vex": {
"aggregate_severity": "Low",
"current_release_date": "2025-11-21T12:37:41+00:00",
"cve": "CVE-2012-0787",
"id": "CVE-2012-0787",
"initial_release_date": "2012-07-19T00:00:00+00:00",
"product_status:fixed": "230",
"product_status:known_affected": "1",
"source": "Red Hat CSAF VEX",
"status": "final",
"title": "augeas: susceptible to mountpoint attack",
"url": "https://security.access.redhat.com/data/csaf/v2/vex/2012/cve-2012-0787.json",
"version": "3"
}
}
}
Loading…
Loading…
Experimental. This forecast is provided for visualization only and may change without notice. Do not use it for operational decisions.
Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Loading…
The MITRE ATT&CK techniques below are AI-generated suggestions, inferred from the description of the
vulnerability by the CIRCL/vulnerability-attack-technique-classification-roberta-base
model, served locally by ML-Gateway.
They have not been verified by an analyst and are provided for guidance only.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Loading…
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.
Loading…