CVE-2005-1924

G/PGP Plugin <2.1 - Command Injection

Title source: llm
STIX 2.1

Exploitation Summary

EIP tracks 2 public exploits for CVE-2005-1924. PoCs published by Backdoored, jmp-esp.

AI-analyzed exploit summary This Ruby script exploits a command injection vulnerability in SquirrelMail's GPG plugin (CVE-2005-1924) by injecting arbitrary commands via the 'fpr' parameter in a POST request. It supports both HTTP and HTTPS connections and requires a valid session cookie for authentication.

Description

The G/PGP (GPG) Plugin 2.1 and earlier for Squirrelmail allow remote authenticated users to execute arbitrary commands via shell metacharacters in (1) the fpr parameter to the deleteKey function in gpg_keyring.php, as called by (a) import_key_file.php, (b) import_key_text.php, and (c) keyring_main.php; and (2) the keyserver parameter to the gpg_recv_key function in gpg_key_functions.php, as called by gpg_options.php. NOTE: this issue may overlap CVE-2007-3636.

Exploits (2)

exploitdb WORKING POC VERIFIED
by Backdoored · rubywebappsphp
https://www.exploit-db.com/exploits/4718

This Ruby script exploits a command injection vulnerability in SquirrelMail's GPG plugin (CVE-2005-1924) by injecting arbitrary commands via the 'fpr' parameter in a POST request. It supports both HTTP and HTTPS connections and requires a valid session cookie for authentication.

Classification
Working Poc 95%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: SquirrelMail with GPG plugin
Auth required
Prerequisites: Valid session cookie (SQMSESSID) · Target path to vulnerable GPG plugin endpoint
devstral-2 · analyzed Feb 16, 2026 Full analysis →
exploitdb WORKING POC VERIFIED
by jmp-esp · textwebappsphp
https://www.exploit-db.com/exploits/4173

This exploit demonstrates a command injection vulnerability in SquirrelMail's G/PGP Encryption Plug-in via the 'fpr' parameter in keyring_main.php. The PoC shows how an attacker can execute arbitrary commands (e.g., 'touch /tmp/w00t') by injecting shell metacharacters.

Classification
Working Poc 90%
Attack Type
Rce
Complexity
Trivial
Reliability
Reliable
Target: SquirrelMail G/PGP Encryption Plug-in
Auth required
Prerequisites: Valid SquirrelMail session (authentication cookie) · G/PGP Encryption Plug-in installed
devstral-2 · analyzed Feb 16, 2026 Full analysis →

References (14)

Core 14
Core References
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/35364
Third Party Advisory, VDB Entry vdb-entry x_refsource_bid
http://www.securityfocus.com/bid/24874
Exploit, Third Party Advisory exploit x_refsource_exploit-db
https://www.exploit-db.com/exploits/4173
Third Party Advisory vendor-advisory x_refsource_gentoo
http://security.gentoo.org/glsa/glsa-200708-08.xml
Third Party Advisory third-party-advisory x_refsource_idefense
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=331
Vendor Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26035
Third Party Advisory third-party-advisory x_refsource_secunia
http://secunia.com/advisories/26424
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37924
Third Party Advisory, VDB Entry vdb-entry x_refsource_xf
https://exchange.xforce.ibmcloud.com/vulnerabilities/35355
Third Party Advisory vdb-entry x_refsource_vupen
http://www.vupen.com/english/advisories/2007/2513
Third Party Advisory, VDB Entry vdb-entry x_refsource_osvdb
http://osvdb.org/37923
Third Party Advisory third-party-advisory x_refsource_idefense
http://labs.idefense.com/intelligence/vulnerabilities/display.php?id=329
Third Party Advisory mailing-list x_refsource_vim
http://www.attrition.org/pipermail/vim/2007-July/001710.html
Third Party Advisory, VDB Entry mailing-list x_refsource_bugtraq
http://www.securityfocus.com/archive/1/473370/100/0/threaded

Scores

EPSS 0.1026
EPSS Percentile 95.1%

Details

Status published
Products (1)
squirrelmail/gpg_plugin < 2.1
Published Dec 31, 2005
Tracked Since Feb 18, 2026