CWEweakness
CWE-522 Insufficiently Protected Credentials
- Abstraction
- Class
- Structure
- Simple
- Status
- Incomplete
- Languages
- Not Language-Specific
- CWE version
- 5.0
Description
The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.
Common consequences
• Access Control: Gain Privileges or Assume Identity — An attacker could gain access to user accounts and access sensitive data used by the user accounts.
Potential mitigations
• [Architecture and Design] Use an appropriate security mechanism to protect the credentials.
• [Architecture and Design] Make appropriate use of cryptography to protect the credentials.
• [Implementation] Use industry standards to protect the credentials (e.g. LDAP, keystore, etc.).
Detection methods
• Automated Static Analysis: Automated static analysis, commonly referred to as Static Application Security Testing (SAST), can find some instances of this weakness by analyzing source code (or binary/compiled code) without having to execute it. Typically, this is done by building a model of data flow and control flow, then searching for potentially-vulnerable patterns that connect "sources" (origins of input) with "sinks" (destinations where the data interacts with external components, a lower layer such as the OS, etc.)
Observed examples
• CVE-2022-30018: A messaging platform serializes all elements of User/Group objects, making private information available to adversaries
• CVE-2022-29959: Initialization file contains credentials that can be decoded using a "simple string transformation"
• CVE-2022-35411: Python-based RPC framework enables pickle functionality by default, allowing clients to unpickle untrusted data.
• CVE-2022-29519: Programmable Logic Controller (PLC) sends sensitive information in plaintext, including passwords and session tokens.
• CVE-2022-30312: Building Controller uses a protocol that transmits authentication credentials in plaintext.
• CVE-2022-31204: Programmable Logic Controller (PLC) sends password in plaintext.
• CVE-2022-30275: Remote Terminal Unit (RTU) uses a driver that relies on a password stored in plaintext.
• CVE-2007-0681: Web app allows remote attackers to change the passwords of arbitrary users without providing the original password, and possibly perform other unauthorized actions.
• CVE-2000-0944: Web application password change utility doesn't check the original password.
• CVE-2005-3435: product authentication succeeds if user-provided MD5 hash matches the hash in its database; this can be subjected to replay attacks.
• CVE-2005-0408: Chain: product generates predictable MD5 hashes using a constant value combined with username, allowing authentication bypass.
Related
Attack pattern · CAPEC (13)
- CAPEC-102 Session Sidejacking attack pattern
- CAPEC-474 Signature Spoofing by Key Theft attack pattern
- CAPEC-50 Password Recovery Exploitation attack pattern
- CAPEC-509 Kerberoasting attack pattern
- CAPEC-551 Modify Existing Service attack pattern
- CAPEC-555 Remote Services with Stolen Credentials attack pattern
- CAPEC-560 Use of Known Domain Credentials attack pattern
- CAPEC-561 Windows Admin Shares with Stolen Credentials attack pattern
- CAPEC-600 Credential Stuffing attack pattern
- CAPEC-644 Use of Captured Hashes (Pass The Hash) attack pattern
- CAPEC-645 Use of Captured Tickets (Pass The Ticket) attack pattern
- CAPEC-652 Use of Known Kerberos Credentials attack pattern
- CAPEC-653 Use of Known Operating System Credentials attack pattern
Observed example · CVE (11)
- CVE-2022-30312 The Trend Controls IC protocol through 2022-05-06 allows Cleartext Transmission of Sensitive Information. vulnerability
- CVE-2022-29959 Emerson OpenBSI through 2022-04-29 mishandles credential storage. vulnerability
- CVE-2022-30275 The Motorola MOSCAD Toolbox software through 2022-05-02 relies on a cleartext password. vulnerability
- CVE-2022-31204 Omron CS series, CJ series, and CP series PLCs through 2022-05-18 use cleartext passwords. vulnerability
- CVE-2022-35411 rpc.py through 0.6.0 allows Remote Code Execution because an unpickle occurs when the "serializer: pickle" HTTP header is sent. vulnerability
- CVE-2022-29519 Cleartext transmission of sensitive information vulnerability exists in STARDOM FCN Controller and FCJ Controller R1.01 to R4.31, which may… vulnerability
- CVE-2022-30018 Mobotix Control Center (MxCC) through 2.5.4.5 has Insufficiently Protected Credentials, Storing Passwords in a Recoverable Format via the… vulnerability
- CVE-2007-0681 profile.php in ExtCalendar 2 and earlier allows remote attackers to change the passwords of arbitrary users without providing the original… vulnerability
- CVE-2005-3435 admin_news.php in Archilles Newsworld up to 1.3.0 allows attackers to bypass authentication by obtaining the password hash for another… vulnerability
- CVE-2005-0408 CitrusDB 0.3.6 and earlier generates easily predictable MD5 hashes of the user name for the id_hash cookie, which allows remote attackers… vulnerability
- CVE-2000-0944 CGI Script Center News Update 1.1 does not properly validate the original news administration password during a password change operation,… vulnerability
Child of · CWE (3)
Referenced by CAPEC · weakness (13)
- CAPEC-102 Session Sidejacking attack pattern
- CAPEC-474 Signature Spoofing by Key Theft attack pattern
- CAPEC-50 Password Recovery Exploitation attack pattern
- CAPEC-509 Kerberoasting attack pattern
- CAPEC-551 Modify Existing Service attack pattern
- CAPEC-555 Remote Services with Stolen Credentials attack pattern
- CAPEC-560 Use of Known Domain Credentials attack pattern
- CAPEC-561 Windows Admin Shares with Stolen Credentials attack pattern
- CAPEC-600 Credential Stuffing attack pattern
- CAPEC-644 Use of Captured Hashes (Pass The Hash) attack pattern
- CAPEC-645 Use of Captured Tickets (Pass The Ticket) attack pattern
- CAPEC-652 Use of Known Kerberos Credentials attack pattern
- CAPEC-653 Use of Known Operating System Credentials attack pattern
Referenced by CVE · weakness (1,567)
- CVE-2026-104314 IBM Langflow OSS 1.0.0 through 1.12.3 could allow an authenticated attacker with a read or share grant on a target flow to retrieve the… vulnerability
- CVE-2026-110192 IBM Langflow OSS 1.0.0 through 1.12.8 could allow a remote authenticated attacker to obtain sensitive information due to insufficiently… vulnerability
- CVE-2026-118763 sigstore-js provides JavaScript libraries for interacting with Sigstore services. vulnerability
- CVE-2026-84295 Improper authentication in Progress Software WS_FTP Server versions prior to 2024.0.6 and 2025.0.3 on Windows could allow an… vulnerability
- CVE-2026-90861 Progress Software WS_FTP Server versions prior to 2024.0.7 and 2025.0.4 on Windows may expose a user's password in clear text to another… vulnerability
- CVE-2026-104384 Insufficiently Protected Credentials in tunnel gateway and provisioning interfaces in EagleCloud Aquila versions through 2.6.7.2 on… vulnerability
- CVE-2026-87097 Sensitive information disclosure due to insufficiently protected credentials. vulnerability
- CVE-2026-88967 A user with query access to an Azure Monitor data source in Grafana can cause server-side requests to an attacker-controlled endpoint that… vulnerability
- CVE-2026-101034 An attacker who obtained the hardcoded key could decrypt domain/service account passwords, task run-as credentials, and sysprep passwords… vulnerability
- CVE-2026-116683 CTFer.io's CTFd Terraform Provider manages CTFd resources as code. vulnerability
- CVE-2026-59158 Nuxt Ollama integrates the official Ollama JavaScript library into Nuxt applications. vulnerability
- CVE-2026-113440 Insufficiently Protected Credentials vulnerability in hackney in benoitc hackney allows a redirecting server to obtain the basic_auth and… vulnerability
- CVE-2026-115750 mcp-from-openapi from 2.5.0 before 2.9.0 contains a credential exposure vulnerability that allows attackers to capture Authorization and… vulnerability
- CVE-2026-114221 NT OneAPP developed by NewType Infortech has a Credential Disclosure vulnerability. vulnerability
- CVE-2026-115371 Incus 6.0.3 before 6.0.7, 6.6.0 before 7.0.2, and 7.1.0 before 7.5.0 contains an improper authorization vulnerability that allows… vulnerability
- CVE-2026-21811 HCL AppScan Azure Boards Plugin is potentially affected by an Information Disclosure vulnerability involving secrets accessible in… vulnerability
- CVE-2026-103090 Missing Authentication for Critical Function (CWE-306) and Insufficiently Protected Credentials (CWE-522) in the control plane enrollment… vulnerability
- CVE-2026-114070 Trigger.dev 4.5.0 before 4.6.0 contains an information disclosure vulnerability in the Dashboard Agent input proxy that stores a delegated… vulnerability
- CVE-2026-111763 A2A Java SDK is the official Java SDK for the Agent2Agent (A2A) Protocol. vulnerability
- CVE-2026-111765 A2A Java SDK is the official Java SDK for the Agent2Agent (A2A) Protocol. vulnerability
- CVE-2026-113652 ApostropheCMS is an open-source Node.js content management system. vulnerability
- CVE-2026-112303 GDevelop desktop app through 5.6.284 contains a credential leak vulnerability that allows attackers to steal the gd_resource cookie by… vulnerability
- CVE-2026-111927 Coder before 2.29.20, 2.33.0 before 2.33.12, 2.34.0 before 2.34.8, and 2.35.0 before 2.35.4 contains an improper hostname validation flaw… vulnerability
- CVE-2026-96626 Arcane is an interface for managing Docker containers, images, networks, and volumes. vulnerability
- CVE-2026-104617 There are two invocations of `qrencode` to display a QR code for scanning. vulnerability
- CVE-2026-36436 An issue in Trisolutions BRPerfX version 1.4.4.0 exposes LDAP credentials in plaintext within the administrative configuration interface. vulnerability
- CVE-2026-102944 cpp-httplib is a C++ header-only HTTP/HTTPS library. vulnerability
- CVE-2026-109953 FreeRDP 3.0.0 before 3.32.0 contains an insufficiently protected credentials vulnerability where the /restricted-admin option fails to… vulnerability
- CVE-2026-63160 Omnispace Agora Project before 26.10.0 contains a vulnerability where the persistent remember-me token is stored verbatim server-side,… vulnerability
- CVE-2026-108904 pH7Builder (pH7 Social Dating CMS) before 18.5.0 contains an information disclosure vulnerability that allows API clients to obtain… vulnerability