CVE-2018-10547 Cross-site scripting in n/a
Reflected XSS in PHP PHAR error pages allows attackers to execute arbitrary scripts in victim browsers via crafted .phar requests.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2018-10547?
CVE-2018-10547 is a medium-severity cross-site scripting vulnerability in Canonical Ubuntu Linux, published on 29 Apr 2018. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official 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.
Weakness: CWE-79
Which versions are affected by CVE-2018-10547?
It affects 4 products.
Products include Canonical Ubuntu Linux, Debian Debian Linux, Netapp Storage Automation Store, Php Php.
How do I fix CVE-2018-10547?
Upgrade to a fixed version.
Escape output for the context it lands in and set a strict Content Security Policy. Upgrading the affected component is the real fix. More about Cross-site scripting.
Is CVE-2018-10547 being exploited?
There is no known exploitation of CVE-2018-10547 in the wild and no public exploit code.
Other vulnerabilities in Canonical Ubuntu Linux
Sources
Also known as ALPINE-CVE-2018-10547, GHSA-phvf-v525-xwq3, UBUNTU-CVE-2018-10547.