G/PGP Encryption Plugin for SquirrelMail keyring_main.php command execution
| squirrelmail-gpgp-keyring-command-execution (35355) |
Description:
The G/PGP Encryption Plugin for SquirrelMail could allow an authenticated remote attacker to execute arbitrary commands on the system, caused by improper validation of user-supplied input by the keyring_main.php script when calling the deleteKey function. A remote attacker could exploit this vulnerability using the fpr parameter to execute arbitrary commands on the system with the privileges of the Web server.
*CVSS:
| Base Score: | 4.2 |
| Access Vector: | Remote |
| Access Complexity: | Low |
| Authentication: | Required |
| Confidentiality Impact: | Partial |
| Integrity Impact: | Partial |
| Availability Impact: | Partial |
| Temporal Score: | 3.3 |
| Exploitability: | Proof-Of-Concept |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Gain Privileges
Remedy:
Upgrade to the latest version of G/PGP Encryption Plugin for SquirrelMail (2.1 or later), available from the G/PGP Encryption Plugin for SquirrelMail Web site. See References.
For Gentoo Linux (squirrel mail):
Refer to GLSA 200708-08 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for upgrade or patch information.
References:
- G/PGP Encryption Plugin for SquirrelMail Web site: SquirrelMail - Webmail for Nuts!.
- iDefense Labs PUBLIC ADVISORY: 07.11.07: SquirrelMail G/PGP Plugin deleteKey() Command Injection Vulnerability.
- BID-24874: SquirrelMail G/PGP Encryption Plug-in Multiple Remote Command Execution Vulnerabilities
- CVE-2005-1924: 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.
- GLSA-200708-08: SquirrelMail G/PGP plugin: Arbitrary code execution
- SA26035: SquirrelMail G/PGP Encryption Plugin Multiple Vulnerabilities
- VUPEN/ADV-2007-2513: SquirrelMail G/PGP Encryption Plugin Multiple Command Execution Vulnerabilities
Platforms Affected:
- Gentoo Linux
- SquirrelMail G/PGP Encryption Plugin for SquirrelMail 2.1 and prior
Reported:
Jul 11, 2007
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
