CVE-2012-2451
What it is
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.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.5% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 0.5% in the next 30 days (EPSS).
- Severity: 3.6 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.5% · EPSS, next 30 days
- Record status
- Modified
Affected
- Shlomi Fish config-inifiles ≤ 2.70
Attack profile CVSS 2.0 · 3.6
- Attack vector
- Local
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:L/Au:N/C:N/I:P/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2012-2451.md and follow it. Check whether this project is affected by CVE-2012-2451. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://secunia.com/advisories/48990
- https://bitbucket.org/shlomif/perl-config-inifiles/changeset/a08fa26f4f59
- http://secunia.com/advisories/48990
- https://bitbucket.org/shlomif/perl-config-inifiles/changeset/a08fa26f4f59
References
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080713.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080716.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081207.html
- http://secunia.com/advisories/48990
- http://www.openwall.com/lists/oss-security/2012/05/02/6
- http://www.osvdb.org/81671
- http://www.securityfocus.com/bid/53361
- http://www.ubuntu.com/usn/USN-1543-1
- https://bitbucket.org/shlomif/perl-config-inifiles/changeset/a08fa26f4f59
- https://bugzilla.redhat.com/show_bug.cgi?id=818386
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75328
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080713.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/080716.html
- http://lists.fedoraproject.org/pipermail/package-announce/2012-May/081207.html
- http://secunia.com/advisories/48990
- http://www.openwall.com/lists/oss-security/2012/05/02/6
- http://www.osvdb.org/81671
- http://www.securityfocus.com/bid/53361
- http://www.ubuntu.com/usn/USN-1543-1
- https://bitbucket.org/shlomif/perl-config-inifiles/changeset/a08fa26f4f59
- https://bugzilla.redhat.com/show_bug.cgi?id=818386
- https://exchange.xforce.ibmcloud.com/vulnerabilities/75328