CVE-2012-0787 (GCVE-0-2012-0787)
Vulnerability from cvelistv5
Published
2013-11-23 18:00
Modified
2024-08-06 18:38
Severity ?
CWE
  • n/a
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.
Impacted products
Vendor Product Version
n/a n/a Version: n/a
Show details on NVD website


{
  "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",
      "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",
        "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",
    "dateReserved": "2012-01-19T00:00:00",
    "dateUpdated": "2024-08-06T18:38:14.202Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2012-0787\",\"sourceIdentifier\":\"secalert@redhat.com\",\"published\":\"2013-11-23T18:55:04.093\",\"lastModified\":\"2025-04-11T00:51:21.963\",\"vulnStatus\":\"Deferred\",\"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.\"}],\"metrics\":{\"cvssMetricV2\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"cvssData\":{\"version\":\"2.0\",\"vectorString\":\"AV:L/AC:H/Au:N/C:P/I:P/A:P\",\"baseScore\":3.7,\"accessVector\":\"LOCAL\",\"accessComplexity\":\"HIGH\",\"authentication\":\"NONE\",\"confidentialityImpact\":\"PARTIAL\",\"integrityImpact\":\"PARTIAL\",\"availabilityImpact\":\"PARTIAL\"},\"baseSeverity\":\"LOW\",\"exploitabilityScore\":1.9,\"impactScore\":6.4,\"acInsufInfo\":false,\"obtainAllPrivilege\":false,\"obtainUserPrivilege\":false,\"obtainOtherPrivilege\":false,\"userInteractionRequired\":true}]},\"weaknesses\":[{\"source\":\"nvd@nist.gov\",\"type\":\"Primary\",\"description\":[{\"lang\":\"en\",\"value\":\"NVD-CWE-noinfo\"}]}],\"configurations\":[{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:*\",\"matchCriteriaId\":\"2F6AB192-9D7D-4A9A-8995-E53A9DE9EAFC\"}]}]},{\"nodes\":[{\"operator\":\"OR\",\"negate\":false,\"cpeMatch\":[{\"vulnerable\":true,\"criteria\":\"cpe:2.3:a:augeas:augeas:*:*:*:*:*:*:*:*\",\"versionEndIncluding\":\"0.10.0\",\"matchCriteriaId\":\"D979BDB9-28B0-400D-B65E-9B548BCDA69F\"},{\"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\"}]}]}],\"references\":[{\"url\":\"http://augeas.net/news.html\",\"source\":\"secalert@redhat.com\"},{\"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\":[\"Vendor Advisory\"]},{\"url\":\"https://bugzilla.redhat.com/show_bug.cgi?id=772261\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Exploit\"]},{\"url\":\"https://github.com/hercules-team/augeas/commit/b8de6a8c\",\"source\":\"secalert@redhat.com\",\"tags\":[\"Exploit\",\"Patch\"]},{\"url\":\"http://augeas.net/news.html\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\"},{\"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\":[\"Vendor Advisory\"]},{\"url\":\"https://bugzilla.redhat.com/show_bug.cgi?id=772261\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\"]},{\"url\":\"https://github.com/hercules-team/augeas/commit/b8de6a8c\",\"source\":\"af854a3a-2127-422b-91ae-364da2661108\",\"tags\":[\"Exploit\",\"Patch\"]}]}}"
  }
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…