{"schemaVersion":3,"id":"CVE-2017-5630","aliases":["UBUNTU-CVE-2017-5630","DEBIAN-CVE-2017-5630"],"status":"published","duplicateOf":null,"title":null,"description":"PECL in the download utility class in the Installer in PEAR Base System v1.10.1 does not validate file types and filenames after a redirect, which allows remote HTTP servers to overwrite files via crafted responses, as demonstrated by a .htaccess overwrite.","dates":{"published":"2017-02-01T23:00:00.000Z","modified":"2024-08-05T15:04:15.355Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.5,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:P/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.5,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N","exploitability":10,"impact":6,"computed":true}]},"epss":{"probability":0.12513,"percentile":0.96216,"severity":"medium","asOf":"2026-10-21T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-21T00:00:00.000Z","baselineScore":0.12513},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.12513,"percentile":0.96216}],"last30":[{"date":"2026-09-21T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.12513,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.12513,"percentile":0.96216}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"41185","name":"PHP PEAR 1.10.1 - Arbitrary File Download","source":"exploit-database","url":"https://www.exploit-db.com/exploits/41185","maturity":"poc","reliabilityScore":0.5,"verified":false,"type":null,"platforms":["php"],"requiresAuth":null,"exploitdb":{"verified":false,"type":"webapps","platform":"php","file":"exploits/php/webapps/41185.txt","codes":["CVE-2017-5630"]},"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"}],"affected":[{"vendor":"debian","product":"php-pear","name":"php-pear","label":"php-pear","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/php-pear","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php-pear","name":"php-pear","label":"php-pear","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php-pear","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"php5","name":"php5","label":"php5","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/php5","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"php","product":"pear","name":"pear","label":"pear","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.10.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.10.1","eol":null,"hubHref":"/vendor/php/pear"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://www.exploit-db.com/exploits/41185/","label":"www.exploit-db.com/exploits/41185/","hostname":"www.exploit-db.com","tags":["Exploit","X Refsource EXPLOIT DB","Third Party Advisory","VDB Entry"]},{"url":"http://www.securityfocus.com/bid/95882","label":"www.securityfocus.com/bid/95882","hostname":"www.securityfocus.com","tags":["VDB Entry","X Refsource BID","Third Party Advisory"]},{"url":"http://pear.php.net/bugs/bug.php?id=21171","label":"pear.php.net/bugs/bug.php?id=21171","hostname":"pear.php.net","tags":["X Refsource MISC","Vendor Advisory"]},{"url":"https://ubuntu.com/security/CVE-2017-5630","label":"ubuntu.com/security/CVE-2017-5630","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2017-5630","label":"www.cve.org/CVERecord?id=CVE-2017-5630","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2017-5630","label":"security-tracker.debian.org/tracker/CVE-2017-5630","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2017-02-01T23:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T15:04:15.355Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":43,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T23:27:10.609Z","stale":false,"partial":false}}