CVE-2009-1579
What it is
The map_yp_alias function in functions/imap_general.php in SquirrelMail before 1.4.18 and NaSMail before 1.7 allows remote attackers to execute arbitrary commands via shell metacharacters in a username string that is used by the ypmatch program.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 3.4% 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: 3.4% in the next 30 days (EPSS).
- Severity: 6.8 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 3.4% · EPSS, next 30 days
- Weakness
- CWE-94 · Code injection
- Record status
- Modified
Affected
- Squirrelmail
- Squirrelmail ≤ 1.4.17
- Squirrelmail 0.1
- Squirrelmail 0.1.1
- Squirrelmail 0.1.2
- Squirrelmail 0.2
- Squirrelmail 0.2.1
- Squirrelmail 0.3
Attack profile CVSS 2.0 · 6.8
- Attack vector
- Network
- Complexity
- Medium
- Authentication
- None
- Confidentiality
- Partial
- Integrity
- Partial
- Availability
- Partial
Raw vector
AV:N/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-2009-1579.md and follow it. Check whether this project is affected by CVE-2009-1579. 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://secunia.com/advisories/35052
- http://secunia.com/advisories/35073
- http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/doc/ChangeLog
- http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/functions/imap_general.php?r1=13674&r2=13673&pathrev=13674
- http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13674
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:110
- http://www.securityfocus.com/bid/34916
- http://www.squirrelmail.org/security/issue/2009-05-10
- http://www.vupen.com/english/advisories/2009/1296
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg00566.html
References
- http://download.gna.org/nasmail/nasmail-1.7.zip
- http://lists.apple.com/archives/security-announce/2010//Jun/msg00001.html
- http://secunia.com/advisories/35052
- http://secunia.com/advisories/35073
- http://secunia.com/advisories/35140
- http://secunia.com/advisories/35259
- http://secunia.com/advisories/37415
- http://secunia.com/advisories/40220
- http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/doc/ChangeLog
- http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/functions/imap_general.php?r1=13674&r2=13673&pathrev=13674
- http://squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13674
- http://support.apple.com/kb/HT4188
- http://www.debian.org/security/2009/dsa-1802
- http://www.mandriva.com/security/advisories?name=MDVSA-2009:110
- http://www.redhat.com/support/errata/RHSA-2009-1066.html
- http://www.securityfocus.com/bid/34916
- http://www.squirrelmail.org/security/issue/2009-05-10
- http://www.vupen.com/english/advisories/2009/1296
- http://www.vupen.com/english/advisories/2009/3315
- http://www.vupen.com/english/advisories/2010/1481
- https://bugzilla.redhat.com/show_bug.cgi?id=500360
- https://exchange.xforce.ibmcloud.com/vulnerabilities/50461
- https://gna.org/forum/forum.php?forum_id=2146
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10986
- https://www.redhat.com/archives/fedora-package-announce/2009-May/msg00566.html