Weaknesses of type CWE-798

937 results

Uso de credenciais hardcoded

Credenciais (senhas, chaves de API, tokens) embutidas no código-fonte ou binários da aplicação. O risco é que qualquer pessoa com acesso ao código ou arquivo compilado consegue extrair essas credenciais e abusar dos recursos protegidos, sem depender de quebra de senha ou ataque de força bruta.

Example

Um desenvolvedor coloca a senha do banco de dados como string literal dentro do código: `String connStr = "Server=db.empresa.com;Password=Admin123!";` Quando o código é compilado, a senha fica visível em ferramentas de análise binária ou se o repositório for exposto. Um atacante a encontra e acessa diretamente o banco.

How to mitigate

Armazene credenciais em variáveis de ambiente, secrets managers (como HashiCorp Vault, AWS Secrets Manager) ou arquivos de configuração protegidos fora do repositório. Nunca commite credenciais no Git; use .gitignore e ferramentas de scanning automático para evitar.

CVE-2023-39422MEDIUMUse of Hard-coded Credentials in multiple /irmdata/api/ endpointsEPSS 0.4%CVE-2018-0141A vulnerability in Cisco Prime Collaboration Provisioning (PCP) Software 11.6 could allow an unauthenticated, local attacker to log in to thEPSS 0.4%CVE-2019-25291CRITICALINIM Electronics Smartliving SmartLAN/G/SI <=6.x Hard-coded Credentials VulnerabilityEPSS 0.4%CVE-2024-48007MEDIUMDell RecoverPoint for Virtual Machines 6.0.x contains use of hard-coded credentials vulnerability. A Remote unauthenticated attacker could pEPSS 0.4%CVE-2026-7786CRITICALJinan USR IOT Technology Limited (PUSR) USR-W610 RS232/485 to Wi-Fi/Ethernet Converter Use of Hard-coded CredentialsEPSS 0.4%CVE-2025-52159HIGHHardcoded credentials in default configuration of PPress 0.0.9.EPSS 0.4%CVE-2025-55739MEDIUMapi: Shared OAuth Signing Key Between Different InstancesEPSS 0.4%CVE-2024-48126CRITICALHI-SCAN 6040i Hitrax HX-03-19-I was discovered to contain hardcoded credentials for access to vendor support and service access.EPSS 0.4%CVE-2025-2765HIGHCarlinKit CPC200-CCPA Wireless Hotspot Hard-Coded Credentials Authentication Bypass VulnerabilityEPSS 0.4%CVE-2018-14801In Philips PageWriter TC10, TC20, TC30, TC50, TC70 Cardiographs, all versions prior to May 2018, an attacker with both the superuser passworEPSS 0.4%CVE-2024-7952HIGHDataEdgePlatform DataMosaix™ Private CloudEPSS 0.4%CVE-2026-82448CRITICALShinobi before commit 5a76c74f Arbitrary Database Query Execution via Hardcoded Child Node KeyEPSS 0.4%CVE-2024-52789HIGHTenda W30E v2.0 V16.01.0.8 was discovered to contain a hardcoded password vulnerability in /etc_ro/shadow, which allows attackers to log in EPSS 0.4%CVE-2024-52788HIGHTenda W9 v1.0.0.7(4456) was discovered to contain a hardcoded password vulnerability in /etc_ro/shadow, which allows attackers to log in as EPSS 0.4%CVE-2026-71238CRITICALDjangoCRM - Hardcoded Django SECRET_KEY Enables Session and CSRF Token ForgeryEPSS 0.4%CVE-2025-14126HIGHTOZED ZLT M30S/ZLT M30S PRO Web hard-coded credentialsEPSS 0.4%CVE-2023-43870HIGHWhen installing the Net2 software a root certificate is installed into the trusted store. A potential hacker could access the installer batcEPSS 0.4%CVE-2025-30125CRITICALAn issue was discovered on Marbella KR8s Dashcam FF 2.0.8 devices. All dashcams were shipped with the same default credentials of 12345678, EPSS 0.4%CVE-2021-43717CRITICALAn issue exists in pson EH-TW5350 Epson iProjection.apk v3.2.6. If you identify a projector equipped with an iProjection function, you can aEPSS 0.4%CVE-2023-32619HIGHArcher C50 firmware versions prior to 'Archer C50(JP)_V3_230505' and Archer C55 firmware versions prior to 'Archer C55(JP)_V1_230506' use haEPSS 0.4%