Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1310 CNY

100%

CVE-2018-18387 PoC — PlaySMS 权限许可和访问控制问题漏洞

Source
Associated Vulnerability
Title:PlaySMS 权限许可和访问控制问题漏洞 (CVE-2018-18387)
Description:playSMS through 1.4.2 allows Privilege Escalation through Daemon abuse.
Description
playSMS < = 1.4.2 - Privilege escalation
Readme
# CVE-2018-18387
playSMS &lt; = 1.4.2 - Privilege escalation


TMHC TEAM found a vulnerability that lead to a priviledge escalation through playSMS/web/init.php that can lead to a complete system compromise.

The attacker need to get access on the box where playSMS is installed and be able to edit playSMS related files, and the daemon must be run as root. In the PHP code, references to a daemon were noticed. Research was conducted on the found daemon. The daemon was located in /usr/local/bin and it had associated files in /etc/init.d/.

This daemon is generally run by root, after being tested with a simple `whoami` command.

The daemon can't be directly modified, yet there is a `while` loop that runs every second which contains a `include init.php`. This file exists in `/var/www/html/playsms`.

Mitigations: Don't run the daemon as root.

The developers were contacted and a fix was released.

Playsms Contacts:

https://playsms.org 

https://github.com/antonraharja/playSMS
File Snapshot

Log in to view the POC file snapshot cached by Shenlong Bot

Log in to view
Remarks
    1. It is advised to access via the original source first.
    2. Local POC snapshots are reserved for subscribers — if the original source is unavailable, the local mirror is part of the paid plan.
    3. Mirroring, verifying, and maintaining this POC archive takes ongoing effort, so local snapshots are a paid feature. Your subscription keeps the archive online — thank you for the support. View subscription plans →