CVE-2018-10547
Description
An issue was discovered in ext/phar/phar_object.c in PHP before 5.6.36, 7.0.x before 7.0.30, 7.1.x before 7.1.17, and 7.2.x before 7.2.5. There is Reflected XSS on the PHAR 403 and 404 error pages via request data of a request for a .phar file. NOTE: this vulnerability exists because of an incomplete fix for CVE-2018-5712.
Severity
MEDIUM
CVSS v3
6.1
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N · source nvd
Exploit chance (EPSS)
3.435%
chance of exploitation in the next 30 days
higher than 89.2% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
None public
Exploit references (NVD and CNA): 0
Metasploit modules: 0
Nuclei templates: 0
Weakness
- CWE-79: Improper Neutralization of Input During Web Page Generation
Timeline
- 2018-04-29Published by the CNA21:00 UTC
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| php php | before 5.6.36fixed in 5.6.36from 7.0.0 before 7.0.30fixed in 7.0.30from 7.1.0 before 7.1.17fixed in 7.1.17from 7.2.0 before 7.2.5fixed in 7.2.5 | 5.6.367.0.307.1.177.2.5 |
| canonical ubuntu_linux | 12.04no fix listed14.04no fix listed16.04no fix listed17.10no fix listed18.04no fix listed | not listednot listednot listednot listednot listed |
| debian debian_linux | 7.0no fix listed8.0no fix listed9.0no fix listed | not listednot listednot listed |
| netapp storage_automation_store |
References
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- https://bugs.php.net/bug.php?id=76129
- https://access.redhat.com/errata/RHSA-2019:2519
- https://usn.ubuntu.com/3646-1/
- https://usn.ubuntu.com/3646-2/
- https://www.debian.org/security/2018/dsa-4240
- http://www.securitytracker.com/id/1040807
- https://lists.debian.org/debian-lts-announce/2018/05/msg00004.html
- https://lists.debian.org/debian-lts-announce/2018/06/msg00005.html
- https://security.netapp.com/advisory/ntap-20180607-0003/
- https://www.tenable.com/security/tns-2018-12
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2018-10547'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2018-10547'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2018-10547'curl 'https://api.contrastcyber.com/cve_products/CVE-2018-10547'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).