Multiple cross-site request forgery (CSRF) vulnerabilities in SquirrelMail 1.4.19 and earlier, and NaSMail before 1.7, allow remote attacker
Multiple cross-site request forgery (CSRF) vulnerabilities in SquirrelMail 1.4.19 and earlier, and NaSMail before 1.7, allow remote attackers to hijack the authentication of unspecified victims via features such as send message and change preferences, related to (1) functions/mailbox_display.php, (2) src/addrbook_search_html.php, (3) src/addressbook.php, (4) src/compose.php, (5) src/folders.php, (6) src/folders_create.php, (7) src/folders_delete.php, (8) src/folders_rename_do.php, (9) src/folders_rename_getname.php, (10) src/folders_subscribe.php, (11) src/move_messages.php, (12) src/options.php, (13) src/options_highlight.php, (14) src/options_identities.php, (15) src/options_order.php, (16) src/search.php, and (17) src/vcard.php.
- Published
- Aug 25, 2009
- Updated
- Jun 16, 2026
- EPSS
- 1.5% · 74th percentile
- CWE
- CWE-352
Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.
Report tools
Action score
27
Monitor
Low priority for now.
- CVSS
- 27 / 40 · 6.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 0 / 30 · 1.5%
Affected systems
| Vendor | Product | CPE |
|---|---|---|
| squirrelmail | squirrelmail | cpe:2.3:a:squirrelmail:squirrelmail |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- squirrelmail squirrelmailup to 1.4.19 inclusive
- squirrelmail squirrelmail0.1.1
- squirrelmail squirrelmail0.1.2
- squirrelmail squirrelmail1.0
- squirrelmail squirrelmail1.0.1
- squirrelmail squirrelmail1.0.2
- squirrelmail squirrelmail1.0.3
- squirrelmail squirrelmail1.0.4
- squirrelmail squirrelmail1.0.5
- squirrelmail squirrelmail1.0.6
- squirrelmail squirrelmail1.0pre1
- squirrelmail squirrelmail1.0pre2
- squirrelmail squirrelmail1.0pre3
- squirrelmail squirrelmail1.1.0
- squirrelmail squirrelmail1.1.1
- squirrelmail squirrelmail1.1.2
- squirrelmail squirrelmail1.1.3
- squirrelmail squirrelmail1.2
- squirrelmail squirrelmail1.2.0
- squirrelmail squirrelmail1.2.0_rc3
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Debian:5.0 | squirrelmail | before 2:1.4.15-4+lenny3.1 | 2:1.4.15-4+lenny3.1 |
| Red Hat:enterprise_linux:3::as | squirrelmail | before 0:1.4.8-16.el3 | 0:1.4.8-16.el3 |
| Red Hat:enterprise_linux:4::as | squirrelmail | before 0:1.4.8-5.el4_8.8 | 0:1.4.8-5.el4_8.8 |
| Red Hat:enterprise_linux:5::client_workstation | squirrelmail | before 0:1.4.8-5.el5_4.10 | 0:1.4.8-5.el5_4.10 |
Same product
squirrelmail: all recordsOther highest-scoring records for the same primary product.
- CVE-2017-7692SquirrelMail 1.4.22 (and other versions before 20170427_0200-SVN) allows post-authentication remote code execution via a sendmail.cf file th45Plan
- CVE-2006-2842PHP remote file inclusion vulnerability in functions/plugin.php in SquirrelMail 1.4.6 and earlier, if register_globals is enabled and magic_43Plan
- CVE-2002-0516SquirrelMail 1.2.5 and earlier allows authenticated SquirrelMail users to execute arbitrary commands by modifying the THEME variable in a co43Plan
- CVE-2004-0521SQL injection vulnerability in SquirrelMail before 1.4.3 RC1 allows remote attackers to execute unauthorized SQL statements, with unknown im41Plan
- CVE-2020-14932compose.php in SquirrelMail 1.4.22 calls unserialize for the $mailtodata value, which originates from an HTTP GET request.39Monitor
- CVE-2002-1131Cross-site scripting vulnerabilities in SquirrelMail 1.2.7 and earlier allows remote attackers to execute script as other web users via (1) 38Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| debian:squirrelmail | 2:1.4.15-4+lenny3.1 · Debian:5.0 | Package registry (OSV) |
| red hat:squirrelmail | 0:1.4.8-16.el3 · Red Hat:enterprise_linux:3::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
If successful
- Confidentiality
- P · data can be read
- Integrity
- P · data or configuration can be modified
- Availability
- P · the service can be disrupted
- Attack complexity
- M
- Confidentiality impact
- P
- Integrity impact
- P
- Availability impact
- P
Weakness class (CWE)
CWE-352 · Cross-Site Request Forgery (CSRF)CVSS vector
AV:N/AC:M/Au:N/C:P/I:P/A:P
nvd-primary
Root cause
State-changing requests rely on the session cookie the browser sends automatically; nothing verifies that the request came from the user’s own page.
The bug in code
The whole CWE-352 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
app.use(session({ cookie: { httpOnly: true } }));app.post("/account/address", updateAddress);Fixed
app.use(session({ cookie: { httpOnly: true, sameSite: "lax" } }));app.post("/account/address", csrfProtection, updateAddress);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Noroxi analysis
No Noroxi analysis for this record yet
We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.
We use this product, ask for helpChange log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=543818
- download.gna.org/nasmail/nasmail-1.7.zip
- jvn.jp/en/jp/JVN30881447/index.html
- jvndb.jvn.jp/ja/contents/2009/JVNDB-2009-002207.html
- lists.apple.com/archives/security-announce/2010//Jun/msg00001.html
- osvdb.org/60469
- secunia.com/advisories/34627
- secunia.com/advisories/36363
- secunia.com/advisories/37415
- secunia.com/advisories/40220
- secunia.com/advisories/40964
- squirrelmail.svn.sourceforge.net/viewvc/squirrelmail/branches/SM-1_4-STABLE/squirrelmail/doc/ChangeLog?revision=13818&view=markup&pathrev=13818
- squirrelmail.svn.sourceforge.net/viewvc/squirrelmail?view=rev&revision=13818
- support.apple.com/kb/HT4188
- www.debian.org/security/2010/dsa-2091
- www.mandriva.com/security/advisories?name=MDVSA-2009:222
- www.osvdb.org/57001
- www.securityfocus.com/bid/36196
- www.squirrelmail.org/security/issue/2009-08-12
- www.vupen.com/english/advisories/2009/2262
Vendor advisories and official records. Exploit/PoC links are deliberately left out.