ghsa-jjcj-fgfm-9g9r
Vulnerability from github
Published
2022-05-14 01:27
Modified
2023-07-03 21:46
Severity ?
Summary
Phusion Passenger Race Condition Allows Privilege Escalation
Details
A race condition in the nginx module in Phusion Passenger 3.x through 5.x before 5.3.2 allows local escalation of privileges when a non-standard passenger_instance_registry_dir with insufficiently strict permissions is configured. Replacing a file with a symlink after the file was created, but before it was chowned, leads to the target of the link being chowned via the path. Targeting sensitive files such as root's crontab file allows privilege escalation.
{ "affected": [ { "package": { "ecosystem": "RubyGems", "name": "passenger" }, "ranges": [ { "events": [ { "introduced": "3.0.0" }, { "fixed": "5.3.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2018-12029" ], "database_specific": { "cwe_ids": [ "CWE-362" ], "github_reviewed": true, "github_reviewed_at": "2023-06-09T23:01:12Z", "nvd_published_at": "2018-06-17T20:29:00Z", "severity": "HIGH" }, "details": "A race condition in the nginx module in Phusion Passenger 3.x through 5.x before 5.3.2 allows local escalation of privileges when a non-standard passenger_instance_registry_dir with insufficiently strict permissions is configured. Replacing a file with a symlink after the file was created, but before it was chowned, leads to the target of the link being chowned via the path. Targeting sensitive files such as root\u0027s crontab file allows privilege escalation.", "id": "GHSA-jjcj-fgfm-9g9r", "modified": "2023-07-03T21:46:30Z", "published": "2022-05-14T01:27:14Z", "references": [ { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2018-12029" }, { "type": "WEB", "url": "https://blog.phusion.nl/2018/06/12/passenger-5-3-2-various-security-fixes" }, { "type": "WEB", "url": "https://blog.phusion.nl/passenger-5-3-2" }, { "type": "WEB", "url": "https://github.com/rubysec/ruby-advisory-db/blob/master/gems/passenger/CVE-2018-12029.yml" }, { "type": "WEB", "url": "https://lists.debian.org/debian-lts-announce/2018/06/msg00007.html" }, { "type": "WEB", "url": "https://pulsesecurity.co.nz/advisories/phusion-passenger-priv-esc" }, { "type": "WEB", "url": "https://security.gentoo.org/glsa/201807-02" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H", "type": "CVSS_V3" } ], "summary": "Phusion Passenger Race Condition Allows Privilege Escalation" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.