CVE DatabaseCVE-2019-7195
한국어 권고문 →
CVE-2019-71959.8/CRITICALCISA KEVCWE-22CWE-22

QNAP Photo Station and QTS Path Traversal Remote Code Execution Vulnerability (CVE-2019-7195)

⚡ Jump to Patch
Affected Vendors
qnap
Affected Components
photo station, qts
Published Date
2019-12-05
CVSS v3.1
9.8
CRITICAL
EPSS (30d)
89.3%
FIRST.org
CISA KEV
Exploited

Executive & SecOps Summary

SECOPS ASSESSMENT
Affected Scope

QNAP Photo Station versions and associated QTS operating system environments

Impact

Unauthenticated remote attackers can access or modify critical system files, potentially leading to full Remote Code Execution (RCE)

Mitigation

Immediately update QNAP Photo Station to the latest secure version and restrict external access

Affected Products & Version Scope

QNAP Photo Station versions prior to 6.0.3 and associated QTS environments

Remediation & Live Workaround Commands

PATCH & WORKAROUND

1. Official Patch & Version Upgrade Commands

Update Photo Station to the latest version via the QNAP App Center. For command-line administration, you can trigger package updates using the QTS CLI:

bash
# Force update and install active packages via QTS CLI
/sbin/qpkg_cli --install_active

2. Temporary Workaround & Hardening Configuration

If immediate patching is not feasible, restrict external access to the NAS administration and Photo Station ports. Implement access control lists (ACLs) or use a reverse proxy to block external requests to the Photo Station directory:

nginx
# Block external access to Photo Station via Nginx reverse proxy
server {
    listen 80;
    server_name nas_local;

    location /photo/ {
        allow 10.0.0.0/8; # Allow internal management network only
        deny all;
    }
}

3. Log Audit & IoC Verification Commands

Inspect web server access logs for directory traversal patterns and unauthorized PHP file executions:

bash
# Search for directory traversal attempts and suspicious PHP executions in web logs
grep -Ei '(\.\./|\.\.%2f|/photo/.*\.php)' /var/log/apache2/access.log /share/Web/access.log 2>/dev/null
Interactive SecOps Remediation Checklist
0/4 (0%)
Recommended Security Control & Mitigation Partner
Cloudflare Enterprise & Pro WAF
Due to active exploitation in the wild, immediately update QNAP Photo Station to the latest version and disable public internet exposure of the NAS management interface.

Block Exploits Instantly with Managed Virtual Patching Rules

Can't patch production immediately? Deploy managed WAF rules at the edge to intercept RCE, SQLi, and deserialization payloads before they hit your origin server.

3-min setup · Automated Zero-Day Managed Rules
Practice Exploiting & Patching This Web Vulnerability in an Interactive Lab
Launch Hands-On Security Lab

Technical Root Cause & Exploitation Mechanics

1. Vulnerability Overview & Root Cause

This vulnerability (CVE-2019-7195) is an external control of file name or path vulnerability (Path Traversal, CWE-22) residing in QNAP Photo Station. The root cause is the lack of proper input validation on user-supplied file paths, allowing attackers to inject directory traversal sequences (e.g., '../') to reference files outside the intended directory structure.

2. Exploitation Mechanics & Attack Scenario

An unauthenticated remote attacker can craft malicious HTTP requests containing path traversal sequences targeting vulnerable Photo Station endpoints. By exploiting this flaw, the attacker can read sensitive configuration files or session tokens. Furthermore, by leveraging file modification capabilities, the attacker can write malicious payloads (such as web shells) into the web root directory, ultimately achieving arbitrary remote code execution under the context of the web server process.

3. Infrastructure & Business Impact

With a CVSS score of 9.8 (Critical) and its inclusion in the CISA Known Exploited Vulnerabilities (KEV) catalog, this vulnerability poses an extreme risk. Successful exploitation allows complete compromise of the NAS device, leading to unauthorized data exfiltration, ransomware deployment, and lateral movement within the internal corporate network.

Official Vendor Advisories & References

Frequently Asked SecOps Questions (CVE-2019-7195)

FAQ

Q1. How critical is CVE-2019-7195 and is it actively exploited in the wild?

CVE-2019-7195 is rated CVSS 9.8 (CRITICAL) with a 30-day EPSS exploitation probability of 89.3%. It is listed in the CISA Known Exploited Vulnerabilities (KEV) catalog, requiring immediate emergency remediation.

Q2. Which vendors and products are affected by CVE-2019-7195?

Primary impacted vendors include qnap across photo station, qts. Scope summary: QNAP Photo Station versions prior to 6.0.3 and associated QTS environments

Q3. What temporary mitigations or workarounds exist for CVE-2019-7195 before patching?

[Mitigation] Immediately update QNAP Photo Station to the latest secure version and restrict external access Follow the CLI remediation commands and interactive SecOps checklist on this page to restrict exposure prior to your maintenance window.

SECOPS WORKBENCH INTEGRATION

Generate an Internal Engineering Notice or CISO Report for CVE-2019-7195

Instantly format this advisory into an executive CISO summary or engineering patch ticket.

Generate Report →

🔗 Related Advisories in Similar Stack (qnap)

View Category →
SecOps Advisory Dispatch & RSS Feed

Subscribe to Daily Vulnerability Briefings & KEV Alerts

Concise morning briefings for SecOps, DevSecOps, and SRE teams covering newly exploited CVEs and mitigation priorities.

Slack / Teams / RSS Feed:
PatchKO
CVE-2019-7195 QNAP Photo Station and QTS Path Traversal Remote Code Execution Vulnerability (CVE-2019-7195) (CVSS 9.8) - Patch & Workaround | CVE Pulse