{"id":"CVE-2018-7490","published":"2018-02-26T22:00:00Z","modified":"2024-08-05T06:31:03Z","title":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal.","provenance":"source","from":"CVE.org"},"summary":{"text":"The flaw is in uWSGI before version 2.0.17, specifically in how its DOCUMENT_ROOT check is handled when the --php-docroot option is used, which leads to a directory traversal weakness. An attacker can exploit it to traverse directories beyond the intended document root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:19:01Z"},"cvss":null,"epss":{"score":0.69423,"percentile":0.9936,"date":"2026-11-01","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://www.exploit-db.com/exploits/44223/","tags":["exploit","x_refsource_EXPLOIT-DB"]},{"url":"https://www.debian.org/security/2018/dsa-4142","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.17.html","tags":["x_refsource_CONFIRM"]}],"techniques":[],"reports":[],"affected":[{"ecosystem":"PyPI","package":"uWSGI","vulnerableRanges":["<2.0.17"],"patched":["2.0.17"],"from":["GHSA-h2vm-c85r-5vh5","PYSEC-2018-78"],"provenance":"source"}],"advisories":[{"id":"GHSA-h2vm-c85r-5vh5","url":"https://github.com/advisories/GHSA-h2vm-c85r-5vh5","severity":"HIGH","ecosystem":"PyPI","package":"uWSGI","vulnerableRanges":["<2.0.17"],"patched":["2.0.17"],"provenance":"source","from":"GHSA"}],"euvd":{"id":"EUVD-2018-0145","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2018-0145","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":44223,"url":"https://www.exploit-db.com/exploits/44223","title":"uWSGI < 2.0.17 - Directory Traversal","type":"webapps","platform":"php","date":"2018-03-02","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2018-03-02"},"pocGithub":{"count":2,"skipped":0,"earliest":"2024-06-14","earliestUrl":"https://github.com/qinzhu111/uWSGI-CVE-2018-7490-POC","repos":[{"name":"qinzhu111/uWSGI-CVE-2018-7490-POC","url":"https://github.com/qinzhu111/uWSGI-CVE-2018-7490-POC","stars":1,"created":"2024-06-14"},{"name":"CyberCTF/vulhub-uwsgi-cve-2018-7490","url":"https://github.com/CyberCTF/vulhub-uwsgi-cve-2018-7490","stars":0,"created":"2026-10-08"}]},"nuclei":[{"id":"CVE-2018-7490","name":"uWSGI PHP Plugin Local File Inclusion","severity":"high","path":"http/cves/2018/CVE-2018-7490.yaml","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2018/CVE-2018-7490.yaml"}],"first":{"date":"2018-03-02","source":"Exploit-DB","url":"https://www.exploit-db.com/exploits/44223"},"provenance":"source"},"exploitRefs":["https://www.exploit-db.com/exploits/44223/","https://www.exploit-db.com/exploits/44223"],"flow":[],"timeline":[{"date":"2018-02-26","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2018-7490","provenance":"source"},{"date":"2018-03-02","kind":"exploit-public","label":"First public exploit: Exploit-DB (EDB-44223); later: PoC-in-GitHub 2024-06-14","url":"https://www.exploit-db.com/exploits/44223","provenance":"source"}],"speed":{"daysToPublicExploit":4,"firstExploitFrom":"Exploit-DB","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.87,"detail":"percentile 0.9936"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 NVD reference tagged Exploit; 1 Exploit-DB entry; 1 advisory exploit reference; 2 PoC-in-GitHub repos; 1 nuclei template"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]}}