FKIE_CVE-2012-0787

Vulnerability from fkie_nvd - Published: 2013-11-23 18:55 - Updated: 2025-04-11 00:51
Severity ?
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
redhat enterprise_linux 6.0
augeas augeas *
augeas augeas 0.0.1
augeas augeas 0.0.2
augeas augeas 0.0.3
augeas augeas 0.0.4
augeas augeas 0.0.5
augeas augeas 0.0.6
augeas augeas 0.0.7
augeas augeas 0.0.8
augeas augeas 0.1.0
augeas augeas 0.1.1
augeas augeas 0.2.0
augeas augeas 0.2.1
augeas augeas 0.2.2
augeas augeas 0.3.0
augeas augeas 0.3.1
augeas augeas 0.3.2
augeas augeas 0.3.3
augeas augeas 0.3.4
augeas augeas 0.3.5
augeas augeas 0.3.6
augeas augeas 0.4.0
augeas augeas 0.4.1
augeas augeas 0.4.2
augeas augeas 0.5.0
augeas augeas 0.5.1
augeas augeas 0.5.2
augeas augeas 0.5.3
augeas augeas 0.6.0
augeas augeas 0.7.0
augeas augeas 0.7.1
augeas augeas 0.7.2
augeas augeas 0.7.3
augeas augeas 0.7.4
augeas augeas 0.8.0
augeas augeas 0.8.1
augeas augeas 0.9.0

{
  "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": "2025-04-11T00:51:21.963",
  "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": "Deferred",
  "weaknesses": [
    {
      "description": [
        {
          "lang": "en",
          "value": "NVD-CWE-noinfo"
        }
      ],
      "source": "nvd@nist.gov",
      "type": "Primary"
    }
  ]
}


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 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…

Detection rules are retrieved from Rulezet.

Loading…

Loading…