PoC Monitor
← All CVEs
CVE-2020-8644published 5 Feb 2020 21:03 UTCData: JSON · API

PlaySMS

PlaySMS Server-Side Template Injection Vulnerability

PlaySMS before 1.4.3 does not sanitize inputs from a malicious string.

First public PoC 58 daysafter publication · 3 Apr 2020 · Metasploit
Public PoCs41 on GitHub · 3 Exploit-DB, Metasploit or nuclei
CVSS9.8critical · scored by CISA ADP · CWE-94
CISA KEV 3 Nov 20211.7 years after publication

Timeline

Days relative to CVE publication
t=0+90+180+270+360+450+540+630CVE published5 Feb 2020 · t = 0First public PoC3 Apr 2020 · t+58dAdded to CISA KEV3 Nov 2021 · t+1.7y

First public PoC 58 days after publication; added to CISA KEV 1.7 years after publication. First PoC: Metasploit exploit: PlaySMS index.php Unauthenticated Template Injection Code Execution (exploit/multi/http/playsms_template_injection) (Metasploit, 3 Apr 2020).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
H3rm1tR3b0rn/CVE-2020-8644-PlaySMS-1.4 25 Jul 2023 +3.5 y 2 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 1 PoC repo

GET /playsms/index.php

Query
app=main inc=core_auth route=login
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36
Seen in
1 repo: H3rm1tR3b0rn/CVE-2020-8644-PlaySMS-1.4
Evidence
H3rm1tR3b0rn/CVE-2020-8644-PlaySMS-1.4/exploit.py:61 H3rm1tR3b0rn/CVE-2020-8644-PlaySMS-1.4/exploit.py:101

POST /playsms/index.php

Query
inc=core_auth route=login op=login app=main
Body markers
X-CSRF-Token= password= username={{eval(base64_decode( in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/103.0.5060.134 Safari/537.36
Seen in
1 repo: H3rm1tR3b0rn/CVE-2020-8644-PlaySMS-1.4
Evidence
H3rm1tR3b0rn/CVE-2020-8644-PlaySMS-1.4/exploit.py:92

Regex

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

GET /playsms/index.php
(?i)^/playsms/index\.php\?(?:.*&)?app=main.*inc=core_auth.*route=login
POST /playsms/index.php
(?i)^/playsms/index\.php\?(?:.*&)?inc=core_auth.*route=login.*op=login.*app=main

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /playsms/index.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-8644 PlaySMS PlaySMS exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/playsms/index.php"; http.uri; content:"app=main"; http.uri; content:"inc=core_auth"; http.uri; content:"route=login"; reference:url,poc.griffinguard.io/cve/CVE-2020-8644; classtype:web-application-attack; sid:9594928; rev:1;)
POST /playsms/index.php
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2020-8644 PlaySMS PlaySMS exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/playsms/index.php"; http.uri; content:"inc=core_auth"; http.uri; content:"route=login"; http.uri; content:"op=login"; http.uri; content:"app=main"; http.request_body; content:"X-CSRF-Token="; http.request_body; content:"password="; http.request_body; content:"username={{eval(base64_decode("; reference:url,poc.griffinguard.io/cve/CVE-2020-8644; classtype:web-application-attack; sid:9751920; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /playsms/index.php
title: PlaySMS PlaySMS exploit attempt (CVE-2020-8644)
id: gg-pocmon-cve-2020-8644-9594928
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-8644. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-8644
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/playsms/index.php'
    cs-uri-query|contains|all:
      - 'app=main'
      - 'inc=core_auth'
      - 'route=login'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.8644
POST /playsms/index.php
title: PlaySMS PlaySMS exploit attempt (CVE-2020-8644)
id: gg-pocmon-cve-2020-8644-9751920
status: experimental
description: Request pattern taken from public PoCs for CVE-2020-8644. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2020-8644
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/playsms/index.php'
    cs-uri-query|contains|all:
      - 'inc=core_auth'
      - 'route=login'
      - 'op=login'
      - 'app=main'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2020.8644