CVE-2004-1063
What it is
PHP 4.x to 4.3.9, and PHP 5.x to 5.0.2, when running in safe mode on a multithreaded Unix webserver, allows local users to bypass safe_mode_exec_dir restrictions and execute commands outside of the intended safe_mode_exec_dir via shell metacharacters in the current directory name. NOTE: this issue was originally REJECTed by its CNA before publication, but that decision is in active dispute. This candidate may change significantly in the future as a result of further discussion.
At a glance
- Exploitability
- Can be exploited over the network without logging in. High risk of data exposure, data tampering, service disruption.
- Exploit odds
- 4.2% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.2% in the next 30 days (EPSS).
- Severity: 10.0 HIGH (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.2% · EPSS, next 30 days
- Record status
- Modified
Affected
- PHP ≤ 4.3.9
- PHP ≤ 5.0.2
- Canonical Ubuntu Linux 4.10
Attack profile CVSS 2.0 · 10.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- Complete
- Integrity
- Complete
- Availability
- Complete
Raw vector
AV:N/AC:L/Au:N/C:C/I:C/A:C
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2004-1063.md and follow it. Check whether this project is affected by CVE-2004-1063. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
References
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915
- http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml
- http://www.hardened-php.net/advisories/012004.txt
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:151
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:072
- http://www.osvdb.org/12412
- http://www.php.net/release_4_3_10.php
- http://www.securityfocus.com/advisories/9028
- http://www.securityfocus.com/archive/1/384545
- http://www.securityfocus.com/bid/11964
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18511
- https://www.ubuntu.com/usn/usn-99-1/
- http://distro.conectiva.com.br/atualizacoes/?id=a&anuncio=000915
- http://www.gentoo.org/security/en/glsa/glsa-200412-14.xml
- http://www.hardened-php.net/advisories/012004.txt
- http://www.mandriva.com/security/advisories?name=MDKSA-2004:151
- http://www.mandriva.com/security/advisories?name=MDKSA-2005:072
- http://www.osvdb.org/12412
- http://www.php.net/release_4_3_10.php
- http://www.securityfocus.com/advisories/9028
- http://www.securityfocus.com/archive/1/384545
- http://www.securityfocus.com/bid/11964
- https://exchange.xforce.ibmcloud.com/vulnerabilities/18511
- https://www.ubuntu.com/usn/usn-99-1/