☠️
EXFILTRATING
DATA...
01010111 10110010 00101001 11000110 01101100 10011011 00010001 11100101 01000010 10101111
[ <-- BACK_TO_SEARCH ]

CVE-2023-40704

CVE-2023-40704 Default Credentials in Philips
📅 PUBLISHED: 2024-07-18 16:33 UTC 🔄 UPDATED: 2026-09-23 20:25 UTC
[ PATCH UNDER REVIEW ↓ ] Remains UNDER REVIEW until an independent source confirms the fix
[ DEFENSE PATCH ↓ ]
💣 PoC: None
👁️
Proof of Concept - Indicates if functional exploit code is publicly available, drastically increasing the risk of immediate attacks.
🎯 EPSS: 0.34%
👁️
0.34% probability
8.4× above the median CVE
Tier: ELEVATED
30-day exploitation window · FIRST.org · updated daily
VULNERABLE: version not auto-detected — verify your deployed version locally
CVSS SEVERITY SCALE
9.0–10.0 CRITICAL
7.0–8.9 HIGH
4.0–6.9 MEDIUM
0.1–3.9 LOW
0.0 NONE
6.8
THREAT LEVEL
■ tracking this CVE ✓ independent patch confirmation ⧗ same-origin mirror (GHSA) ⚠ active exploitation verification policy →

Executive Summary

CVE-2023-40704 affects Philips PACS (Picture Archiving and Communication System) due to the use of default, non-unique, and non-complex passwords during installation. An attacker who discovers or leaks the default password can gain unauthorized access to the database, leading to system availability loss and data integrity compromise. The vulnerability is rated with a CVSS score of 6.8 (Medium), with an EPSS probability of 0.0% indicating low exploitation likelihood in the wild. No public exploit code or proof-of-concept is available, and no patch has been released by the vendor.

This vulnerability is not related to any open-source package ecosystem (NPM, PyPI, Go, Ruby), so no supply chain analysis is required.

⚡ AUTOMATE YOUR CVE INTELLIGENCE

This record — and 170,000+ others — are available via the ValtersIT API. One endpoint replaces five: NVD + GitHub CVE + CISA KEV + EPSS + Nuclei + Exploit-DB, unified.

›Patch confidence — UNVERIFIED to CONFIRMED, cross-referenced NVD + RHSA + Debian
›Exploit & PoC — poc_status, poc_url, has_exploit. Not in NVD.
›Shodan dorks — ready-made queries to find exposed vulnerable systems
›Detection rules — YARA · Wazuh · Elastic (all plans) · Sigma (Pro)
›pending_fields — know exactly which of 7 fields NVD hasn't processed yet
›Free backfill — data incomplete when you paid? Re-check within 30 days = 0 credits
PAYG €0.08/lookup Standard €19/mo (was €29) · 5k credits Pro €65/mo (was €99) · 20k credits FOUNDING PRICE · LOCKED FOR LIFE · ENDS 31 DEC 2026
[ FROM €19/MO ]
Free sandbox key available
No signup required

CVSS Breakdown & Threat Level

  • CVSS Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:H
  • Base Score: 6.8 (Medium)
  • Attack Vector: Network (AV:N) – exploitable remotely.
  • Attack Complexity: Low (AC:L) – no special conditions required.
  • Privileges Required: None (PR:N) – no authentication needed.
  • User Interaction: None (UI:N) – no user action required.
  • Scope: Unchanged (S:U) – impact confined to the vulnerable component.
  • Confidentiality Impact: None (C:N) – no data exposure.
  • Integrity Impact: Low (I:L) – limited data modification possible.
  • Availability Impact: High (A:H) – potential for denial of service or system disruption.

Threat Level: Medium. The vulnerability is easy to exploit remotely, but the lack of public exploits and low EPSS score reduces immediate risk. However, if default credentials are discovered, the impact on availability and integrity is significant.

Deep Dive & Mechanics

Philips PACS systems are used in medical imaging to store, retrieve, and distribute images. During installation, the system creates a default password for database access. This password is not unique per installation and is not required to be complex. An attacker who obtains this default password (e.g., through leaked documentation, brute-force, or insider knowledge) can authenticate to the database.

Once authenticated, the attacker can:

  • Modify or delete medical image data, compromising data integrity.
  • Cause denial of service by corrupting database tables or overloading the system.
  • Potentially pivot to other connected systems if the database is misconfigured.

The vulnerability is rooted in weak credential management (CWE-521) and does not require any authentication bypass or injection technique.

Vulnerable vs. Patched Code

No code-level comparison is available because the vulnerability is configuration-based, not code-based. The issue lies in the installation process, not in a specific software function. The "vulnerable" state is any installation that uses the default password; the "patched" state would require enforcing unique, complex passwords during setup.

Exploitation & Lab Setup

Red Team

Objective: Gain unauthorized database access using default credentials.

Prerequisites:

  • Network access to the Philips PACS database port (typically 5432 for PostgreSQL).
  • Knowledge of the default password (e.g., "philips" or "pacs").

Steps:

  1. Scan for open PostgreSQL ports on the target network.
  2. Attempt to connect using the default credentials.
  3. If successful, execute SQL commands to extract or modify data.

Example connection command:

psql -h <target_ip> -p 5432 -U postgres -d pacsdb -W

Enter the default password when prompted.

Post-exploitation:

  • Dump database contents: pg_dump -h <target_ip> -U postgres pacsdb > dump.sql
  • Modify data: UPDATE images SET status='deleted' WHERE id=1;

Blue Team

Detection:

  • Monitor for multiple failed login attempts to the database.
  • Alert on successful logins from unexpected IP addresses.
  • Check for default password usage in configuration files.

Honeypot:

  • Deploy a fake PACS database with default credentials to detect scanning activity.

Hardening:

  • Immediately change default passwords after installation.
  • Enforce password complexity and rotation policies.
  • Restrict database access to trusted IPs only.

Indicators of Compromise (IOCs)

  • Network: Connections to port 5432 from unusual external IPs.
  • Logs: Database authentication logs showing successful login with default username (e.g., postgres or pacsadmin).
  • File: Presence of default password in configuration files (e.g., pg_hba.conf or application.properties).
  • Behavior: Unusual SQL queries (e.g., SELECT * FROM pg_shadow or DROP TABLE).

Detection Engineering

YARA Rule

rule CVE_2023_40704_Default_Password_Detection {
    meta:
        description = "Detects default password strings in Philips PACS configuration files"
        author = "Valters IT"
        date = "2025-04-10"
        reference = "CVE-2023-40704"
    strings:
        $default_pwd1 = "philips" ascii wide nocase
        $default_pwd2 = "pacs" ascii wide nocase
        $default_pwd3 = "password" ascii wide nocase
        $config_file = "pg_hba.conf" ascii wide nocase
    condition:
        any of ($default_pwd*) and $config_file
}

Sigma Rule

title: Philips PACS Default Password Login Attempt
id: 8a9b7c6d-5e4f-3a2b-1c0d-9e8f7a6b5c4d
status: experimental
description: Detects successful login to Philips PACS database using default credentials
author: Valters IT
date: 2025-04-10
logsource:
    category: application
    product: postgresql
detection:
    selection:
        user: "postgres"
        source_ip: "0.0.0.0/0"
        action: "login"
        result: "success"
    condition: selection
falsepositives:
    - Legitimate administrative access from trusted IPs
level: high

Suricata Rule

alert tcp $EXTERNAL_NET any -> $HOME_NET 5432 (msg:"CVE-2023-40704 Philips PACS Default Password Attempt"; flow:to_server,established; content:"|70 61 73 73 77 6f 72 64|"; nocase; sid:1000001; rev:1;)

Note: The hex content |70 61 73 73 77 6f 72 64| represents the string "password". Adjust based on actual default password.

Remediation & Mitigation

Immediate Actions:

  1. Change all default passwords on Philips PACS systems immediately.
  2. Enforce password complexity (minimum 12 characters, mixed case, numbers, symbols).
  3. Implement multi-factor authentication for database access if supported.

Long-term Measures:

  • Apply any vendor patches when released.
  • Conduct regular security audits of medical device configurations.
  • Segment PACS systems from general network traffic.
  • Monitor database logs for anomalous access patterns.

Workaround:

  • Restrict database access to only authorized IP addresses using firewall rules.
  • Disable remote database access if not required.

Valters IT

◈ SOURCE Analysis & enrichment: valtersit.com/cve/CVE-2023-40704/ · CVE data: NVD/MITRE (public domain) · © 2026 ValtersIT Hub
>_ SYSTEM_CORE: INTEL_ACTIVE
90% TEAM-CURATED // 10% AUTOMATED INGESTION.
ALL PATCH REFERENCES AND VERSION DATA SOURCED FROM NVD + OSV OFFICIAL REGISTRIES.