CVE-2009-5054 Smarty Does Not Consider Umask Values When Setting Permissions
Smarty library fails to respect umask settings, allowing attackers to bypass intended file access restrictions via standard filesystem operations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2009-5054?
CVE-2009-5054 is a high-severity vulnerability in n/a, published on 3 Feb 2011. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Smarty before 3.0.0 beta 4 does not consider the umask value when setting the permissions of files, which might allow attackers to bypass intended access restrictions via standard filesystem operations.
Weakness: CWE-264
Which versions are affected by CVE-2009-5054?
2 open source packages ship an affected version, including smarty/smarty. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
smarty/smarty Packagist | All versions | 3.0.0-beta4 |
smarty/smarty Packagist | All versions | 3.0.0-beta4 |
Products include Smarty Smarty.
How do I fix CVE-2009-5054?
Upgrade smarty/smarty to 3.0.0-beta4 or later.
Is CVE-2009-5054 being exploited?
There is no known exploitation of CVE-2009-5054 in the wild and no public exploit code.
Other vulnerabilities in n/a
Sources
Also known as DEBIAN-CVE-2009-5054, GHSA-6m9f-8vwq-97pm.