PoC Monitor
← All CVEs
CVE-2019-7192published 5 Dec 2019 16:17 UTCData: JSON · API

QNAP NAS devices running Photo Station

QNAP Photo Station Improper Access Control Vulnerability

Edge device · NAS / storageknown edge product: QNAP QNAP NAS devices running Photo Station (high confidence)

This improper access control vulnerability allows remote attackers to gain unauthorized access to the system. To fix these vulnerabilities, QNAP recommend updating Photo Station to their latest versions.

First public PoC 168 daysafter publication · 21 May 2020
Public PoCs42 on GitHub · 2 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-863
CISA KEV 8 Jun 20222.5 years after publication · ransomware use known

Timeline

Days relative to CVE publication
t=0+180+360+540+720+900CVE published5 Dec 2019 · t = 0First public PoC21 May 2020 · t+168dAdded to CISA KEV8 Jun 2022 · t+2.5y

First public PoC 168 days after publication; added to CISA KEV 2.5 years after publication. First PoC: cycraft-corp/cve-2019-7192-check (created 21 May 2020, found by us: backfilled).

PoC repositories

Found on GitHub.

2 PoCs

PoCs 2
RepositoryCreatedStarsAssessment
cycraft-corp/cve-2019-7192-check 21 May 2020 +168 d 13 PoC
Flags · score 15
  • owner account created less than 30 days before the repo

Below the suspicion threshold (50); does not change the assessment.

th3gundy/CVE-2019-7192_QNAP_Exploit 24 May 2020 +171 d 86 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

Other public exploits

Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.

PoC characteristics

What to hunt for in your logs · from 2 PoC repos

GET /photo/slideshow.php

Query
album=
PoC User-Agent
Gundy - QNAP RCE
Seen in
1 repo: th3gundy/CVE-2019-7192_QNAP_Exploit
Evidence
th3gundy/CVE-2019-7192_QNAP_Exploit/gundy.py:66

POST /photo/p/api/album.php

Body markers
album= a=caption ac= f=UMGObv filename= in application/x-www-form-urlencoded
PoC User-Agent
Gundy - QNAP RCE
Seen in
1 repo: th3gundy/CVE-2019-7192_QNAP_Exploit
Evidence
th3gundy/CVE-2019-7192_QNAP_Exploit/gundy.py:53

POST /photo/p/api/video.php

Body markers
album= a=caption ac= f=UMGObv filename= in application/x-www-form-urlencoded
PoC User-Agent
Gundy - QNAP RCE
Seen in
1 repo: th3gundy/CVE-2019-7192_QNAP_Exploit
Evidence
th3gundy/CVE-2019-7192_QNAP_Exploit/gundy.py:31

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /photo/slideshow.php
(?i)^/photo/slideshow\.php\?(?:.*&)?album=
POST /photo/p/api/album.php
(?i)^/photo/p/api/album\.php(?:[?#].*)?$
POST /photo/p/api/video.php
(?i)^/photo/p/api/video\.php(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /photo/slideshow.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-7192 QNAP QNAP NAS devices running Photo Station exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/photo/slideshow.php"; http.uri; content:"album="; reference:url,poc.griffinguard.io/cve/CVE-2019-7192; classtype:web-application-attack; sid:9195492; rev:1;)
POST /photo/p/api/album.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-7192 QNAP QNAP NAS devices running Photo Station exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/photo/p/api/album.php"; http.request_body; content:"album="; http.request_body; content:"a=caption"; http.request_body; content:"ac="; http.request_body; content:"f=UMGObv"; http.request_body; content:"filename="; reference:url,poc.griffinguard.io/cve/CVE-2019-7192; classtype:web-application-attack; sid:9767177; rev:1;)
POST /photo/p/api/video.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2019-7192 QNAP QNAP NAS devices running Photo Station exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/photo/p/api/video.php"; http.request_body; content:"album="; http.request_body; content:"a=caption"; http.request_body; content:"ac="; http.request_body; content:"f=UMGObv"; http.request_body; content:"filename="; reference:url,poc.griffinguard.io/cve/CVE-2019-7192; classtype:web-application-attack; sid:9868069; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /photo/slideshow.php
title: QNAP QNAP NAS devices running Photo Station exploit attempt (CVE-2019-7192)
id: gg-pocmon-cve-2019-7192-9195492
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-7192. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-7192
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/photo/slideshow.php'
    cs-uri-query|contains|all:
      - 'album='
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.7192
POST /photo/p/api/album.php
title: QNAP QNAP NAS devices running Photo Station exploit attempt (CVE-2019-7192)
id: gg-pocmon-cve-2019-7192-9767177
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-7192. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-7192
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/photo/p/api/album.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.7192
POST /photo/p/api/video.php
title: QNAP QNAP NAS devices running Photo Station exploit attempt (CVE-2019-7192)
id: gg-pocmon-cve-2019-7192-9868069
status: experimental
description: Request pattern taken from public PoCs for CVE-2019-7192. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2019-7192
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/photo/p/api/video.php'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2019.7192