CVE-2012-0878 Paste Script has improper group memberships permissions
Remote attackers can bypass file-access restrictions and escalate privileges in Paste Script applications running with root privileges.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2012-0878?
CVE-2012-0878 is a medium-severity vulnerability in n/a, published on 1 May 2012. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Paste Script 1.7.5 and earlier does not properly set group memberships during execution with root privileges, which might allow remote attackers to bypass intended file-access restrictions by leveraging a web application that uses the local filesystem.
Weakness: CWE-264
Which versions are affected by CVE-2012-0878?
6 open source packages ship an affected version, including paste and pastescript. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
paste PyPI | All versions | 1.7.5.1 |
paste PyPI | All versions | 1.7.5.1 |
paste PyPI | All versions | 1.7.5.1 |
pastescript PyPI | All versions | 2.0.1 |
pastescript PyPI | All versions | 2.0.1 |
pastescript PyPI | All versions | 2.0.1 |
Linux distribution packages (2)
python-paste-script Red Hat:enterprise_linux:6::server | All versions | 0:1.7.3-5.el6_3 |
python-paste-script Red Hat:enterprise_linux:6::workstation | All versions | 0:1.7.3-5.el6_3 |
Products include Pythonpaste Paste.
How do I fix CVE-2012-0878?
Upgrade paste to 1.7.5.1 or later.
Is CVE-2012-0878 being exploited?
There is no known exploitation of CVE-2012-0878 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2012-0878, GHSA-27px-qpmj-qg38, PYSEC-2012-15, PYSEC-2026-2859, RHSA-2012:1206.