cve.bz

CWE-798: Use of Hard-coded Credentials, published in 2022, page 4

Filter

The product contains hard-coded credentials, such as a password or cryptographic key.

What the weakness is: CWE-798 at MITRE. OWASP Top 10: A07:2025 Authentication Failures. All weaknesses

Related attack patterns (CAPEC): 2
  • CAPEC-70 Try Common or Default Usernames and Passwords Likelihood: Medium · Severity: High
  • CAPEC-191 Read Sensitive Constants Within an Executable Severity: Low

The attack patterns MITRE's CAPEC relates to CWE-798, as MITRE names them. Credits.

Ask an AI about CWE-798

Show the promptExplain CWE-798: Use of Hard-coded Credentials and how to prevent and detect it in code. Use https://cwe.mitre.org/data/definitions/798.html and https://cve.bz/cve/cwe/798?via=ask-ai-copy for recent CVEs with this weakness. Cite the sources.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this weakness's id and public links.

By year: all 2026 2025 2024 2023 2022 2021

  1. 2.7CVE-2022-27506citrixEPSS 0.7%

    Hard-coded credentials allow administrators to access the shell via the SD-WAN CLI

  2. 5.5CVE-2022-22560dell emc powerscale onefsEPSS 0.2%

    Dell EMC PowerScale OneFS 8.1.x - 9.1.x contain hard coded credentials. This allows a local user with knowledge of the credentials to login as the admin user to the backend ethernet switch of a PowerScale cluster. The attacker can exploit …

  3. 7.3CVE-2022-26671secomEPSS 1.0%

    Taiwan Secom Dr.ID Access Control system’s login page has a hard-coded credential in the source code. An unauthenticated remote attacker can use the hard-coded credential to acquire partial system information and modify system setting to c…

  4. 7.8CVE-2022-23440fortinet fortiedrEPSS 0.2%

    A use of hard-coded cryptographic key vulnerability [CWE-321] in the registration mechanism of FortiEDR collectors versions 5.0.2, 5.0.1, 5.0.0, 4.0.0 may allow a local attacker to disable and uninstall the collectors from the end-points w…

  5. 9.1CVE-2022-23441fortinet fortiedrEPSS 0.9%

    A use of hard-coded cryptographic key vulnerability [CWE-321] in FortiEDR versions 5.0.2, 5.0.1, 5.0.0, 4.0.0 may allow an unauthenticated attacker on the network to disguise as and forge messages from other collectors.

  6. 9.8CVE-2022-1162gitlabExploitEPSS 76%

    A hardcoded password was set for accounts registered using an OmniAuth provider (e.g. OAuth, LDAP, SAML) in GitLab CE/EE versions 14.7 prior to 14.7.7, 14.8 prior to 14.8.5, and 14.9 prior to 14.9.2 allowing attackers to potentially take o…

  7. 9.8CVE-2022-25569bettinivideo sgsetupEPSS 1.2%

    Bettini Srl GAMS Product Line v4.3.0 was discovered to re-use static SSH keys across installations, allowing unauthenticated attackers to login as root users via extracting a key from the software.

  8. 9.8CVE-2021-30064EPSS 0.9%

    On Schneider Electric ConneXium Tofino Firewall TCSEFEA23F3F22 before 03.23, TCSEFEA23F3F20/21, and Belden Tofino Xenon Security Appliance, an SSH login can succeed with hardcoded default credentials (if the device is in the uncommissioned…

  9. 8.8CVE-2021-46008totolink a3100r firmwareEPSS 0.9%

    In totolink a3100r V5.9c.4577, the hard-coded telnet password can be discovered from official released firmware. An attacker, who has connected to the Wi-Fi, can easily telnet into the target with root shell if the telnet is function turne…

  10. 9.8CVE-2022-24693baicellsEPSS 3.4%

    Baicells Nova436Q and Neutrino 430 devices with firmware through QRTB 2.7.8 have hardcoded credentials that are easily discovered, and can be used by remote attackers to authenticate via ssh. (The credentials are stored in the firmware, en…

  11. 9.8CVE-2022-25521nuuo network video recorder firmwareEPSS 1.7%

    NUUO v03.11.00 was discovered to contain access control issue.

  12. 9.1CVE-2022-25577alf-bancoEPSS 1.2%

    ALF-BanCO v8.2.5 and below was discovered to use a hardcoded password to encrypt the SQLite database containing the user's data. Attackers who are able to gain remote or local access to the system are able to read and modify the data.

  13. 6.8CVE-2021-27430ge ur bootloader binaryEPSS 0.2%

    GE UR bootloader binary Version 7.00, 7.01 and 7.02 included unused hardcoded credentials. Additionally, a user with physical access to the UR IED can interrupt the boot sequence by rebooting the UR.

  14. 9.8CVE-2021-45877garoEPSS 1.1%

    Multiple versions of GARO Wallbox GLB/GTB/GTC are affected by hard coded credentials. A hardcoded credential exist in /etc/tomcat8/tomcat-user.xml, which allows attackers to gain authorized access and control the tomcat completely on port …

  15. 5.3CVE-2020-25193geEPSS 0.9%

    By having access to the hard-coded cryptographic key for GE Reason RT430, RT431 & RT434 GNSS clocks in firmware versions prior to version 08A06, attackers would be able to intercept and decrypt encrypted traffic through an HTTPS connection.

  16. 6.5CVE-2020-25180EPSS 1.2%

    Rockwell Automation ISaGRAF Runtime Versions 4.x and 5.x includes the functionality of setting a password that is required to execute privileged commands. The password value passed to ISaGRAF Runtime is the result of encryption performed w…

  17. 7.5CVE-2022-26660robotronic runasspcEPSS 0.6%

    RunAsSpc 4.0 uses a universal and recoverable encryption key. In possession of a file encrypted by RunAsSpc, an attacker can recover the credentials that were used.

  18. 8.8CVE-2022-25246ptcEPSS 1.8%

    Axeda agent (All versions) and Axeda Desktop Server for Windows (All versions) uses hard-coded credentials for its UltraVNC installation. Successful exploitation of this vulnerability could allow a remote authenticated attacker to take ful…

  19. 7.8CVE-2021-41848EPSS 0.4%

    An issue was discovered in Luna Simo PPR1.180610.011/202001031830. It mishandles software updates such that local third-party apps can provide a spoofed software update file that contains an arbitrary shell script and arbitrary ARM binary,…

  20. 9.8CVE-2022-23402yokogawaEPSS 1.0%

    The following Yokogawa Electric products hard-code the password for CAMS server applications: CENTUM VP versions from R5.01.00 to R5.04.20 and versions from R6.01.00 to R6.08.00, Exaopc versions from R3.72.00 to R3.79.00

  21. 9.8CVE-2022-21194yokogawaEPSS 1.0%

    The following Yokogawa Electric products do not change the passwords of the internal Windows accounts from the initial configuration: CENTUM VP versions from R5.01.00 to R5.04.20 and versions from R6.01.00 to R6.08.0, Exaopc versions from …

  22. 8.8CVE-2022-25510freetakserver-ui project freetakserver-uiEPSS 1.1%

    FreeTAKServer 1.9.8 contains a hardcoded Flask secret key which allows attackers to create crafted cookies to bypass authentication or escalate privileges.

  23. 7.8CVE-2022-25217phicommEPSS 0.3%

    Use of a hard-coded cryptographic key pair by the telnetd_startup service allows an attacker on the local area network to obtain a root shell on the device over telnet. The builds of telnetd_startup included in the version 22.5.9.163 of th…

  24. 6.8CVE-2022-25213phicommEPSS 0.4%

    Improper physical access control and use of hard-coded credentials in /etc/passwd permits an attacker with physical access to obtain a root shell via an unprotected UART port on the device. The same port exposes an unauthenticated Das U-Bo…

  25. 9.8CVE-2022-25045home owners collection management system project home owners collection management systemEPSS 1.3%

    Home Owners Collection Management System v1.0 was discovered to contain hardcoded credentials which allows attackers to escalate privileges and access the admin panel.

  26. 8.8CVE-2022-24255extensis portfolioEPSS 1.4%

    Extensis Portfolio v4.0 was discovered to contain hardcoded credentials which allows attackers to gain administrator privileges.

  27. 9.8CVE-2022-25329trendmicroEPSS 2.7%

    Trend Micro ServerProtect 6.0/5.8 Information Server uses a static credential to perform authentication when a specific command is typed in the console. An unauthenticated remote attacker with access to the Information Server could exploit…

  28. 9.8CVE-2021-27797broadcom fabric operating systemEPSS 1.3%

    Brocade Fabric OS before Brocade Fabric OS v8.2.1c, v8.1.2h, and all versions of Brocade Fabric OS v8.0.x and v7.x contain documented hard-coded credentials, which could allow attackers to gain access to the system.

  29. 8.8CVE-2022-23650netmakerEPSS 1.6%

    Netmaker is a platform for creating and managing virtual overlay networks using WireGuard. Prior to versions 0.8.5, 0.9.4, and 010.0, there is a hard-coded cryptographic key in the code base which can be exploited to run admin commands on …

  30. 7.5CVE-2021-46247asus cmax6000 firmwareEPSS 1.2%

    The use of a hard-coded cryptographic key significantly increases the possibility encrypted data may be recovered from ASUS CMAX6000 v1.02.00.

  31. 7.8CVE-2022-22765bd viper lt system firmwareEPSS 0.2%

    BD Viper LT system, versions 2.0 and later, contains hardcoded credentials. If exploited, threat actors may be able to access, modify or delete sensitive information, including electronic protected health information (ePHI), protected heal…

  32. 5.5CVE-2022-22766bdEPSS 0.2%

    Hardcoded credentials are used in specific BD Pyxis products. If exploited, threat actors may be able to gain access to the underlying file system and could potentially exploit application files for information that could be used to decryp…

  33. 9.8CVE-2020-36062phpgurukul dairy farm shop management systemEPSS 2.3%

    Dairy Farm Shop Management System v1.0 was discovered to contain hardcoded credentials in the source code which allows attackers access to the control panel if compromised.

  34. 9.8CVE-2022-22813schneider-electricEPSS 1.1%

    A CWE-798: Use of Hard-coded Credentials vulnerability exists. If an attacker were to obtain the TLS cryptographic key and take active control of the Courier tunneling communication network, they could potentially observe and manipulate tr…

  35. 6.5CVE-2021-45106siemens sicam toolbox iiEPSS 0.7%

    A vulnerability has been identified in SICAM TOOLBOX II (All versions). Affected applications use a circumventable access control within a database service. This could allow an attacker to access the database.

  36. 8.8CVE-2021-42833xylem aquaviewEPSS 0.2%

    A Use of Hardcoded Credentials vulnerability exists in AquaView versions 1.60, 7.x, and 8.x that could allow an authenticated local attacker to manipulate users and system settings.

  37. 9.8CVE-2022-22987advantech adam-3600 firmwareEPSS 1.2%

    The affected product has a hardcoded private key available inside the project folder, which may allow an attacker to achieve Web Server login and perform further actions.

  38. 7.5CVE-2022-22722schneider-electric easergy p5 firmwareEPSS 2.4%

    A CWE-798: Use of Hard-coded Credentials vulnerability exists that could result in information disclosure. If an attacker were to obtain the SSH cryptographic key for the device and take active control of the local operational network conn…

  39. 8.1CVE-2021-42635printerlogic web stackEPSS 5.6%

    PrinterLogic Web Stack versions 19.1.1.13 SP9 and below use a hardcoded APP_KEY value, leading to pre-auth remote code execution.

  40. 9.8CVE-2020-36064online course registration project online course registrationEPSS 1.5%

    Online Course Registration v1.0 was discovered to contain hardcoded credentials in the source code which allows attackers access to the control panel if compromised.

  41. 5.9CVE-2022-21199reolink rlc-410w firmwareEPSS 0.9%

    An information disclosure vulnerability exists due to the hardcoded TLS key of reolink RLC-410W v3.0.0.136_20121102. A specially-crafted man-in-the-middle attack can lead to a disclosure of sensitive information. An attacker can perform a …

  42. 8.8CVE-2021-44464fresenius-kabiEPSS 0.7%

    Vigilant Software Suite (Mastermed Dashboard) version 2.0.1.3 contains service credentials likely to be common across all instances. An attacker in possession of the password may gain privileges on all installations of this software.

  43. 9.8CVE-2021-23233fresenius-kabiEPSS 1.0%

    Sensitive endpoints in Fresenius Kabi Agilia Link+ v3.0 and prior can be accessed without any authentication information such as the session cookie. An attacker can send requests to sensitive endpoints as an unauthenticated user to perform…

  44. 9.8CVE-2022-22928mingsoft mcmsEPSS 2.6%

    MCMS v5.2.4 was discovered to have a hardcoded shiro-key, allowing attackers to exploit the key and execute arbitrary code.

  45. 7.1CVE-2021-23842boschEPSS 0.1%

    Communication to the AMC2 uses a state-of-the-art cryptographic algorithm for symmetric encryption called Blowfish. An attacker could retrieve the key from the firmware to decrypt network traffic between the AMC2 and the host system. Thus,…

  46. 3.3CVE-2022-0131jmty jimotyEPSS 0.2%

    Jimoty App for Android versions prior to 3.7.42 uses a hard-coded API key for an external service. By exploiting this vulnerability, API key for an external service may be obtained by analyzing data in the app.

  47. 9.8CVE-2022-22056le-yan dental management system project le-yan dental management systemEPSS 2.3%

    The Le-yan dental management system contains a hard-coded credentials vulnerability in the web page source code, which allows an unauthenticated remote attacker to acquire administrator’s privilege and control the system or disrupt service.

  48. 7.5CVE-2021-43052tibco ftlEPSS 0.9%

    The Realm Server component of TIBCO Software Inc.'s TIBCO FTL - Community Edition, TIBCO FTL - Developer Edition, and TIBCO FTL - Enterprise Edition contains an easily exploitable vulnerability that allows authentication bypass due to a ha…

  49. 7.5CVE-2022-21669puddingbot project puddingbotEPSS 1.1%

    PuddingBot is a group management bot. In version 0.0.6-b933652 and prior, the bot token is publicly exposed in main.py, making it accessible to malicious actors. The bot token has been revoked and new version is already running on the serv…

  50. 8.8CVE-2021-45033siemensEPSS 0.9%

    A vulnerability has been identified in CP-8000 MASTER MODULE WITH I/O -25/+70°C (All versions < V16.20), CP-8000 MASTER MODULE WITH I/O -40/+70°C (All versions < V16.20), CP-8021 MASTER MODULE (All versions < V16.20), CP-8022 MASTER MODULE…