{"api_version":"1","generated_at":"2026-07-23T05:59:59+00:00","cve":"CVE-2012-2451","urls":{"html":"https://cve.report/CVE-2012-2451","api":"https://cve.report/api/cve/CVE-2012-2451.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2012-2451","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2012-2451"},"summary":{"title":"CVE-2012-2451","description":"The Config::IniFiles module before 2.71 for Perl creates temporary files with predictable names, which allows local users to overwrite arbitrary files via a symlink attack.  NOTE: some of these details are obtained from third party information.  NOTE: it has been reported that this might only be exploitable by writing in the same directory as the .ini file. If this is the case, then this issue might not cross privilege boundaries.","state":"PUBLISHED","assigner":"mitre","published_at":"2012-06-27 21:55:03","updated_at":"2026-04-29 01:13:23"},"problem_types":["NVD-CWE-Other","n/a"],"metrics":[{"version":"2.0","source":"nvd@nist.gov","type":"Primary","score":"3.6","severity":"","vector":"AV:L/AC:L/Au:N/C:N/I:P/A:P","data":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:P/A:P","baseScore":3.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"}}],"references":[{"url":"http://www.osvdb.org/81671","name":"http://www.osvdb.org/81671","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"","mime":"","httpstatus":"-1","archivestatus":"0"},{"url":"http://secunia.com/advisories/48990","name":"http://secunia.com/advisories/48990","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Vendor Advisory"],"title":"Security Alerts - Secunia","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080713.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080713.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 15 Update: perl-Config-IniFiles-2.72-1.fc15","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.ubuntu.com/usn/USN-1543-1","name":"http://www.ubuntu.com/usn/USN-1543-1","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"USN-1543-1: Config-IniFiles vulnerability | Ubuntu","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081207.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081207.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 17 Update: perl-Config-IniFiles-2.72-1.fc17","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.openwall.com/lists/oss-security/2012/05/02/6","name":"http://www.openwall.com/lists/oss-security/2012/05/02/6","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"oss-security - temporary file issue in Config::IniFiles Config-IniFiles perl-Config-IniFiles","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=818386","name":"https://bugzilla.redhat.com/show_bug.cgi?id=818386","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"818386 – (CVE-2012-2451) CVE-2012-2451 perl-Config-IniFiles: insecure temporary file usage","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"http://www.securityfocus.com/bid/53361","name":"http://www.securityfocus.com/bid/53361","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"Perl Config::IniFiles Module Insecure Temporary File Creation Vulnerability","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080716.html","name":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080716.html","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"[SECURITY] Fedora 16 Update: perl-Config-IniFiles-2.72-1.fc16","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75328","name":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75328","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":[],"title":"IBM X-Force Exchange","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://bitbucket.org/shlomif/perl-config-inifiles/changeset/a08fa26f4f59","name":"https://bitbucket.org/shlomif/perl-config-inifiles/changeset/a08fa26f4f59","refsource":"af854a3a-2127-422b-91ae-364da2661108","tags":["Exploit","Patch"],"title":"shlomif / perl-Config-IniFiles \n  / changeset / a08fa26f4f59\n — Bitbucket","mime":"text/html","httpstatus":"404","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2012-2451","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2012-2451","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"n/a","product":"n/a","version":"affected n/a","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2012","cve_id":"2451","vulnerable":"1","versionEndIncluding":"2.70","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"shlomi_fish","cpe5":"config-inifiles","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"adp":[{"providerMetadata":{"dateUpdated":"2024-08-06T19:34:25.715Z","orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE"},"references":[{"tags":["x_refsource_MISC","x_transferred"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=818386"},{"tags":["x_refsource_CONFIRM","x_transferred"],"url":"https://bitbucket.org/shlomif/perl-config-inifiles/changeset/a08fa26f4f59"},{"name":"config-inifiles-symlink(75328)","tags":["vdb-entry","x_refsource_XF","x_transferred"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75328"},{"name":"FEDORA-2012-7802","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080713.html"},{"name":"FEDORA-2012-7763","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081207.html"},{"name":"48990","tags":["third-party-advisory","x_refsource_SECUNIA","x_transferred"],"url":"http://secunia.com/advisories/48990"},{"name":"USN-1543-1","tags":["vendor-advisory","x_refsource_UBUNTU","x_transferred"],"url":"http://www.ubuntu.com/usn/USN-1543-1"},{"name":"81671","tags":["vdb-entry","x_refsource_OSVDB","x_transferred"],"url":"http://www.osvdb.org/81671"},{"name":"[oss-security] 20120502 temporary file issue in Config::IniFiles Config-IniFiles perl-Config-IniFiles","tags":["mailing-list","x_refsource_MLIST","x_transferred"],"url":"http://www.openwall.com/lists/oss-security/2012/05/02/6"},{"name":"53361","tags":["vdb-entry","x_refsource_BID","x_transferred"],"url":"http://www.securityfocus.com/bid/53361"},{"name":"FEDORA-2012-7777","tags":["vendor-advisory","x_refsource_FEDORA","x_transferred"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080716.html"}],"title":"CVE Program Container"}],"cna":{"affected":[{"product":"n/a","vendor":"n/a","versions":[{"status":"affected","version":"n/a"}]}],"datePublic":"2012-05-02T00:00:00.000Z","descriptions":[{"lang":"en","value":"The Config::IniFiles module before 2.71 for Perl creates temporary files with predictable names, which allows local users to overwrite arbitrary files via a symlink attack.  NOTE: some of these details are obtained from third party information.  NOTE: it has been reported that this might only be exploitable by writing in the same directory as the .ini file. If this is the case, then this issue might not cross privilege boundaries."}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"dateUpdated":"2017-08-28T12:57:01.000Z","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","shortName":"mitre"},"references":[{"tags":["x_refsource_MISC"],"url":"https://bugzilla.redhat.com/show_bug.cgi?id=818386"},{"tags":["x_refsource_CONFIRM"],"url":"https://bitbucket.org/shlomif/perl-config-inifiles/changeset/a08fa26f4f59"},{"name":"config-inifiles-symlink(75328)","tags":["vdb-entry","x_refsource_XF"],"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75328"},{"name":"FEDORA-2012-7802","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080713.html"},{"name":"FEDORA-2012-7763","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081207.html"},{"name":"48990","tags":["third-party-advisory","x_refsource_SECUNIA"],"url":"http://secunia.com/advisories/48990"},{"name":"USN-1543-1","tags":["vendor-advisory","x_refsource_UBUNTU"],"url":"http://www.ubuntu.com/usn/USN-1543-1"},{"name":"81671","tags":["vdb-entry","x_refsource_OSVDB"],"url":"http://www.osvdb.org/81671"},{"name":"[oss-security] 20120502 temporary file issue in Config::IniFiles Config-IniFiles perl-Config-IniFiles","tags":["mailing-list","x_refsource_MLIST"],"url":"http://www.openwall.com/lists/oss-security/2012/05/02/6"},{"name":"53361","tags":["vdb-entry","x_refsource_BID"],"url":"http://www.securityfocus.com/bid/53361"},{"name":"FEDORA-2012-7777","tags":["vendor-advisory","x_refsource_FEDORA"],"url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080716.html"}],"x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"cve@mitre.org","ID":"CVE-2012-2451","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 Config::IniFiles module before 2.71 for Perl creates temporary files with predictable names, which allows local users to overwrite arbitrary files via a symlink attack.  NOTE: some of these details are obtained from third party information.  NOTE: it has been reported that this might only be exploitable by writing in the same directory as the .ini file. If this is the case, then this issue might not cross privilege boundaries."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"https://bugzilla.redhat.com/show_bug.cgi?id=818386","refsource":"MISC","url":"https://bugzilla.redhat.com/show_bug.cgi?id=818386"},{"name":"https://bitbucket.org/shlomif/perl-config-inifiles/changeset/a08fa26f4f59","refsource":"CONFIRM","url":"https://bitbucket.org/shlomif/perl-config-inifiles/changeset/a08fa26f4f59"},{"name":"config-inifiles-symlink(75328)","refsource":"XF","url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/75328"},{"name":"FEDORA-2012-7802","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080713.html"},{"name":"FEDORA-2012-7763","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081207.html"},{"name":"48990","refsource":"SECUNIA","url":"http://secunia.com/advisories/48990"},{"name":"USN-1543-1","refsource":"UBUNTU","url":"http://www.ubuntu.com/usn/USN-1543-1"},{"name":"81671","refsource":"OSVDB","url":"http://www.osvdb.org/81671"},{"name":"[oss-security] 20120502 temporary file issue in Config::IniFiles Config-IniFiles perl-Config-IniFiles","refsource":"MLIST","url":"http://www.openwall.com/lists/oss-security/2012/05/02/6"},{"name":"53361","refsource":"BID","url":"http://www.securityfocus.com/bid/53361"},{"name":"FEDORA-2012-7777","refsource":"FEDORA","url":"http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080716.html"}]}}}},"cveMetadata":{"assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","assignerShortName":"mitre","cveId":"CVE-2012-2451","datePublished":"2012-06-27T21:00:00.000Z","dateReserved":"2012-05-02T00:00:00.000Z","dateUpdated":"2024-08-06T19:34:25.715Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.1"},"nvd":{"publishedDate":"2012-06-27 21:55:03","lastModifiedDate":"2026-04-29 01:13:23","problem_types":["NVD-CWE-Other","n/a"],"metrics":{"cvssMetricV2":[{"source":"nvd@nist.gov","type":"Primary","cvssData":{"version":"2.0","vectorString":"AV:L/AC:L/Au:N/C:N/I:P/A:P","baseScore":3.6,"accessVector":"LOCAL","accessComplexity":"LOW","authentication":"NONE","confidentialityImpact":"NONE","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL"},"baseSeverity":"LOW","exploitabilityScore":3.9,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}]},"configurations":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:shlomi_fish:config-inifiles:*:*:*:*:*:*:*:*","versionEndIncluding":"2.70","matchCriteriaId":"1DB8AB2E-7986-470B-A510-0B340F5540BA"}]}]}]},"legacy_mitre":{"record":{"CveYear":"2012","CveId":"2451","Ordinal":"1","Title":"CVE-2012-2451","CVE":"CVE-2012-2451","Year":"2012"},"notes":[{"CveYear":"2012","CveId":"2451","Ordinal":"1","NoteData":"The Config::IniFiles module before 2.71 for Perl creates temporary files with predictable names, which allows local users to overwrite arbitrary files via a symlink attack.  NOTE: some of these details are obtained from third party information.  NOTE: it has been reported that this might only be exploitable by writing in the same directory as the .ini file. If this is the case, then this issue might not cross privilege boundaries.","Type":"Description","Title":"CVE-2012-2451"},{"CveYear":"2012","CveId":"2451","Ordinal":"2","NoteData":"2012-06-27","Type":"Other","Title":"Published"},{"CveYear":"2012","CveId":"2451","Ordinal":"3","NoteData":"2017-08-28","Type":"Other","Title":"Modified"}]}}}