CVE-2013-4136
What it is
ext/common/ServerInstanceDir.h in Phusion Passenger gem before 4.0.6 for Ruby allows local users to gain privileges or possibly change the ownership of arbitrary directories via a symlink attack on a directory with a predictable name in /tmp/.
At a glance
- Exploitability
- Can be exploited locally on the machine without logging in. Limited direct impact.
- Exploit odds
- 0.3% 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.3% in the next 30 days (EPSS).
- Severity: 4.4 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 0.3% · EPSS, next 30 days
- Weakness
- CWE-59
- Record status
- Modified
Affected
- Phusion Passenger ≤ 4.0.5
- Phusion Passenger 4.0.1
- Phusion Passenger 4.0.2
- Phusion Passenger 4.0.3
- Phusion Passenger 4.0.4
Attack profile CVSS 2.0 · 4.4
- Attack vector
- Local
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:L/AC:M/Au:N/C:P/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-2013-4136.md and follow it. Check whether this project is affected by CVE-2013-4136. 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://rhn.redhat.com/errata/RHSA-2013-1136.html
- https://github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b
- http://rhn.redhat.com/errata/RHSA-2013-1136.html
- https://github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b
References
- http://rhn.redhat.com/errata/RHSA-2013-1136.html
- http://www.openwall.com/lists/oss-security/2013/07/16/6
- https://code.google.com/p/phusion-passenger/issues/detail?id=910
- https://github.com/phusion/passenger/blob/release-4.0.6/NEWS
- https://github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b
- http://rhn.redhat.com/errata/RHSA-2013-1136.html
- http://www.openwall.com/lists/oss-security/2013/07/16/6
- https://code.google.com/p/phusion-passenger/issues/detail?id=910
- https://github.com/phusion/passenger/blob/release-4.0.6/NEWS
- https://github.com/phusion/passenger/commit/5483b3292cc2af1c83033eaaadec20dba4dcfd9b