CVE-2012-4454
What it is
openCryptoki before 2.4.1, when using spinlocks, allows local users to create or set world-writable permissions on arbitrary files via a symlink attack on the (1) .pkapi_xpk or (2) .pkcs11spinloc file in /tmp.
At a glance
- Exploitability
- Can be exploited from the same network segment without logging in. Limited direct impact.
- Exploit odds
- 1.1% 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: 1.1% in the next 30 days (EPSS).
- Severity: 2.9 LOW (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 1.1% · EPSS, next 30 days
- Weakness
- CWE-264
- Record status
- Modified
Affected
- Opencryptoki Project Opencryptoki ≤ 2.4
- Opencryptoki Project Opencryptoki 2.2.3
- Opencryptoki Project Opencryptoki 2.2.4
- Opencryptoki Project Opencryptoki 2.2.4.1
- Opencryptoki Project Opencryptoki 2.2.5
- Opencryptoki Project Opencryptoki 2.2.6
- Opencryptoki Project Opencryptoki 2.2.7
- Opencryptoki Project Opencryptoki 2.2.8
Attack profile CVSS 2.0 · 2.9
- Attack vector
- Adjacent network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- None
- Integrity
- Partial
- Availability
- None
Raw vector
AV:A/AC:M/Au:N/C:N/I:P/A:N
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-4454.md and follow it. Check whether this project is affected by CVE-2012-4454. 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
References
- http://opencryptoki.git.sourceforge.net/git/gitweb.cgi?p=opencryptoki/opencryptoki%3Ba=commitdiff%3Bh=58345488c9351d9be9a4be27c8b407c2706a33a9
- http://opencryptoki.git.sourceforge.net/git/gitweb.cgi?p=opencryptoki/opencryptoki%3Ba=commitdiff%3Bh=b7fcb3eb0319183348f1f4fb90ede4edd6487c30
- http://secunia.com/advisories/50702
- http://sourceforge.net/mailarchive/message.php?msg_id=28878345
- http://www.openwall.com/lists/oss-security/2012/09/07/2
- http://www.openwall.com/lists/oss-security/2012/09/07/6
- http://www.openwall.com/lists/oss-security/2012/09/09/2
- http://www.openwall.com/lists/oss-security/2012/09/20/6
- http://www.openwall.com/lists/oss-security/2012/09/25/5
- http://www.openwall.com/lists/oss-security/2012/09/27/2
- http://www.securityfocus.com/bid/55627
- https://bugzilla.redhat.com/show_bug.cgi?id=730636
- https://exchange.xforce.ibmcloud.com/vulnerabilities/78797
- http://opencryptoki.git.sourceforge.net/git/gitweb.cgi?p=opencryptoki/opencryptoki%3Ba=commitdiff%3Bh=58345488c9351d9be9a4be27c8b407c2706a33a9
- http://opencryptoki.git.sourceforge.net/git/gitweb.cgi?p=opencryptoki/opencryptoki%3Ba=commitdiff%3Bh=b7fcb3eb0319183348f1f4fb90ede4edd6487c30
- http://secunia.com/advisories/50702
- http://sourceforge.net/mailarchive/message.php?msg_id=28878345
- http://www.openwall.com/lists/oss-security/2012/09/07/2
- http://www.openwall.com/lists/oss-security/2012/09/07/6
- http://www.openwall.com/lists/oss-security/2012/09/09/2
- http://www.openwall.com/lists/oss-security/2012/09/20/6
- http://www.openwall.com/lists/oss-security/2012/09/25/5
- http://www.openwall.com/lists/oss-security/2012/09/27/2
- http://www.securityfocus.com/bid/55627
- https://bugzilla.redhat.com/show_bug.cgi?id=730636