CVE-2004-2771
mailx: command execution flaw
Severity Score
7.5
*CVSS v2
Exploit Likelihood
*EPSS
Affected Versions
*CPE
Public Exploits
1
*Multiple Sources
Exploited in Wild
-
*KEV
Decision
-
*SSVC
Descriptions
The expand function in fio.c in Heirloom mailx 12.5 and earlier and BSD mailx 8.1.2 and earlier allows remote attackers to execute arbitrary commands via shell metacharacters in an email address.
La función extendida en fio.c en Heirloom mailx 12.5 y anteriores y BSD mailx 8.1.2 y anteriores permite a atacantes remotos ejecutar comandos arbitrarios a través metacaracteres de shell en una dirección de correo electrónico.
A flaw was found in the way mailx handled the parsing of email addresses. A syntactically valid email address could allow a local attacker to cause mailx to execute arbitrary shell commands through shell meta-characters (CVE-2004-2771) and the direct command execution functionality (CVE-2014-7844).
*Credits:
N/A
CVSS Scores
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
Attack Vector
Attack Complexity
Authentication
Confidentiality
Integrity
Availability
* Common Vulnerability Scoring System
SSVC
- Decision:-
Exploitation
Automatable
Tech. Impact
* Organization's Worst-case Scenario
Timeline
- 2012-01-04 CVE Reserved
- 2014-12-16 CVE Published
- 2024-08-05 EPSS Updated
- 2024-08-08 CVE Updated
- 2024-08-08 First Exploit
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-20: Improper Input Validation
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CAPEC
References (10)
URL | Tag | Source |
---|---|---|
http://linux.oracle.com/errata/ELSA-2014-1999.html | X_refsource_confirm | |
http://seclists.org/oss-sec/2014/q4/1066 | Mailing List | |
http://secunia.com/advisories/60940 | Third Party Advisory | |
http://secunia.com/advisories/61585 | Third Party Advisory | |
http://secunia.com/advisories/61693 | Third Party Advisory |
URL | Date | SRC |
---|---|---|
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=278748 | 2024-08-08 |
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
http://rhn.redhat.com/errata/RHSA-2014-1999.html | 2023-02-13 | |
http://www.debian.org/security/2014/dsa-3105 | 2023-02-13 | |
https://access.redhat.com/security/cve/CVE-2004-2771 | 2014-12-16 | |
https://bugzilla.redhat.com/show_bug.cgi?id=1162783 | 2014-12-16 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Oracle Search vendor "Oracle" | Linux Search vendor "Oracle" for product "Linux" | 6 Search vendor "Oracle" for product "Linux" and version "6" | - |
Affected
| ||||||
Oracle Search vendor "Oracle" | Linux Search vendor "Oracle" for product "Linux" | 7 Search vendor "Oracle" for product "Linux" and version "7" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Search vendor "Redhat" for product "Enterprise Linux" | 6.0 Search vendor "Redhat" for product "Enterprise Linux" and version "6.0" | - |
Affected
| ||||||
Redhat Search vendor "Redhat" | Enterprise Linux Search vendor "Redhat" for product "Enterprise Linux" | 7.0 Search vendor "Redhat" for product "Enterprise Linux" and version "7.0" | - |
Affected
| ||||||
Bsd Mailx Project Search vendor "Bsd Mailx Project" | Bsd Mailx Search vendor "Bsd Mailx Project" for product "Bsd Mailx" | <= 8.1.2 Search vendor "Bsd Mailx Project" for product "Bsd Mailx" and version " <= 8.1.2" | - |
Affected
| ||||||
Heirloom Search vendor "Heirloom" | Mailx Search vendor "Heirloom" for product "Mailx" | <= 12.5 Search vendor "Heirloom" for product "Mailx" and version " <= 12.5" | - |
Affected
|