ID CVE-2019-17221 Type cve Reporter cve@mitre.org Modified 2019-11-08T17:27:00
Description
PhantomJS through 2.1.1 has an arbitrary file read vulnerability, as demonstrated by an XMLHttpRequest for a file:// URI. The vulnerability exists in the page.open() function of the webpage module, which loads a specified URL and calls a given callback. An attacker can supply a specially crafted HTML file, as user input, that allows reading arbitrary files on the filesystem. For example, if page.render() is the function callback, this generates a PDF or an image of the targeted file. NOTE: this product is no longer developed.
{"id": "CVE-2019-17221", "bulletinFamily": "NVD", "title": "CVE-2019-17221", "description": "PhantomJS through 2.1.1 has an arbitrary file read vulnerability, as demonstrated by an XMLHttpRequest for a file:// URI. The vulnerability exists in the page.open() function of the webpage module, which loads a specified URL and calls a given callback. An attacker can supply a specially crafted HTML file, as user input, that allows reading arbitrary files on the filesystem. For example, if page.render() is the function callback, this generates a PDF or an image of the targeted file. NOTE: this product is no longer developed.", "published": "2019-11-05T14:15:00", "modified": "2019-11-08T17:27:00", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}, "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2019-17221", "reporter": "cve@mitre.org", "references": ["https://www.darkmatter.ae/blogs/breaching-the-perimeter-phantomjs-arbitrary-file-read/"], "cvelist": ["CVE-2019-17221"], "type": "cve", "lastseen": "2020-12-09T21:41:47", "edition": 6, "viewCount": 8, "enchantments": {"dependencies": {"references": [], "modified": "2020-12-09T21:41:47", "rev": 2}, "score": {"value": 0.9, "vector": "NONE", "modified": "2020-12-09T21:41:47", "rev": 2}, "vulnersScore": 0.9}, "cpe": ["cpe:/a:phantomjs:phantomjs:2.1.1"], "affectedSoftware": [{"cpeName": "phantomjs:phantomjs", "name": "phantomjs", "operator": "le", "version": "2.1.1"}], "cvss2": {"acInsufInfo": false, "cvssV2": {"accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "NONE", "availabilityImpact": "NONE", "baseScore": 5.0, "confidentialityImpact": "PARTIAL", "integrityImpact": "NONE", "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "version": "2.0"}, "exploitabilityScore": 10.0, "impactScore": 2.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false}, "cvss3": {"cvssV3": {"attackComplexity": "LOW", "attackVector": "NETWORK", "availabilityImpact": "NONE", "baseScore": 7.5, "baseSeverity": "HIGH", "confidentialityImpact": "HIGH", "integrityImpact": "NONE", "privilegesRequired": "NONE", "scope": "UNCHANGED", "userInteraction": "NONE", "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N", "version": "3.1"}, "exploitabilityScore": 3.9, "impactScore": 3.6}, "cpe23": ["cpe:2.3:a:phantomjs:phantomjs:2.1.1:*:*:*:*:*:*:*"], "cwe": ["CWE-552"], "scheme": null, "cpeConfiguration": {"CVE_data_version": "4.0", "nodes": [{"cpe_match": [{"cpe23Uri": "cpe:2.3:a:phantomjs:phantomjs:2.1.1:*:*:*:*:*:*:*", "versionEndIncluding": "2.1.1", "vulnerable": true}], "operator": "OR"}]}}