CVE-2007-1825
Buffer overflow in the imap_mail_compose function in PHP 5 before 5.2.1, and PHP 4 before 4.4.5, allows remote attackers to execute arbitrary code via a long boundary string in a type.parameters field. NOTE: as of 20070411, it appears that this issue might be subsumed by CVE-2007-0906.3.
What to do
Likely to be exploited: EPSS gives a 11% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.
Fixed builds are available from Red Hat: see the table below for the fixed version per release.
Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.
curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \ -H "Content-Type: text/plain" --data-binary @inventory.txt
Vendor status at a glance
Status by vendor and release
From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Red Hat Enterprise Linux 5 | php | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-bcmath | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-cli | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-common | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-dba | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-devel | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-gd | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-imap | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-ldap | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-mbstring | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-mysql | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-ncurses | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-odbc | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-pdo | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-pgsql | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-snmp | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-soap | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-xml | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 5 | php-xmlrpc | Fixed | 0:5.1.6-7.el5 | RHSA-2007:0082 |
| Red Hat Enterprise Linux 4 | php | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-devel | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-domxml | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-gd | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-imap | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-ldap | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-mbstring | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-mysql | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-ncurses | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-odbc | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-pear | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-pgsql | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-snmp | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 4 | php-xmlrpc | Fixed | 0:4.3.9-3.22.3 | RHSA-2007:0076 |
| Red Hat Enterprise Linux 3 | php | Fixed | 0:4.3.2-39.ent | RHSA-2007:0076 |
| Red Hat Enterprise Linux 3 | php-devel | Fixed | 0:4.3.2-39.ent | RHSA-2007:0076 |
| Red Hat Enterprise Linux 3 | php-imap | Fixed | 0:4.3.2-39.ent | RHSA-2007:0076 |
| Red Hat Enterprise Linux 3 | php-ldap | Fixed | 0:4.3.2-39.ent | RHSA-2007:0076 |
| Red Hat Enterprise Linux 3 | php-mysql | Fixed | 0:4.3.2-39.ent | RHSA-2007:0076 |
| Red Hat Enterprise Linux 3 | php-odbc | Fixed | 0:4.3.2-39.ent | RHSA-2007:0076 |
| Red Hat Enterprise Linux 3 | php-pgsql | Fixed | 0:4.3.2-39.ent | RHSA-2007:0076 |
| Red Hat Enterprise Linux 2 | php | Fixed | 0:4.1.2-2.14 | RHSA-2007:0081 |
| Red Hat Enterprise Linux 2 | php-devel | Fixed | 0:4.1.2-2.14 | RHSA-2007:0081 |
| Red Hat Enterprise Linux 2 | php-imap | Fixed | 0:4.1.2-2.14 | RHSA-2007:0081 |
| Red Hat Enterprise Linux 2 | php-ldap | Fixed | 0:4.1.2-2.14 | RHSA-2007:0081 |
| Red Hat Enterprise Linux 2 | php-manual | Fixed | 0:4.1.2-2.14 | RHSA-2007:0081 |
| Red Hat Enterprise Linux 2 | php-mysql | Fixed | 0:4.1.2-2.14 | RHSA-2007:0081 |
| Red Hat Enterprise Linux 2 | php-odbc | Fixed | 0:4.1.2-2.14 | RHSA-2007:0081 |
| Red Hat Enterprise Linux 2 | php-pgsql | Fixed | 0:4.1.2-2.14 | RHSA-2007:0081 |
References
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10377
- http://www.php-security.org/MOPB/MOPB-40-2007.html
- http://www.securityfocus.com/bid/23234
- https://exchange.xforce.ibmcloud.com/vulnerabilities/33534
About this page
Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.