CVE-2005-1924: Command Injection in Squirrelmail G/PGP Plugin
- Vendor
- Squirrelmail
CVE-2005-1924 describes a command injection vulnerability in the G/PGP (GPG) Plugin 2.1 and earlier for Squirrelmail. Remote authenticated users can execute arbitrary shell commands by injecting shell metacharacters into the 'fpr' parameter of the deleteKey function in gpg_keyring.php (as called by import_key_file.php, import_key_text.php, and keyring_main.php), or into the 'keyserver' parameter of the gpg_recv_key function in gpg_key_functions.php (as called by gpg_options.php).
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows remote authenticated users to execute arbitrary commands on the server with the privileges of the web server process, potentially leading to full system compromise, data theft, or further lateral movement within the network.
Mitigation
If you can’t patch tonight, do this now.
Apply input validation and sanitization to the 'fpr' and 'keyserver' parameters to prevent injection of shell metacharacters. Employ web application firewalls (WAFs) to detect and block malicious input patterns. Restrict plugin usage to trusted users and minimize the privileges of the web server process.
Remediation
Patch, then assume compromise.
Upgrade to a fixed version of the G/PGP Plugin for Squirrelmail that properly sanitizes user-supplied input to the affected parameters. If no patch is available, consider disabling the plugin or restricting access to trusted users only.
Exploits
No validated public exploits yet. Hidden: 2 not yet analyzed, such as Exploit-DB entries.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2005-1924 exploited in the wild?
- As of Oct 16, 2026, Mallory has no reports of CVE-2005-1924 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2005-1924?
- As of Oct 16, 2026, Mallory has not confirmed a public exploit for CVE-2005-1924. 2 candidate exploit records are not yet analyzed.
- Is there a patch for CVE-2005-1924?
- Upgrade to a fixed version of the G/PGP Plugin for Squirrelmail that properly sanitizes user-supplied input to the affected parameters. If no patch is available, consider disabling the plugin or restricting access to trusted users only.
- What products are affected by CVE-2005-1924?
- Squirrelmail Gpg Plugin.
- How severe is CVE-2005-1924?
- CVE-2005-1924 has a CVSS v2 score of 9.3 (Critical) and an EPSS score of 10.3% (96th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.