CVE-2021-26786
Description
An issue was discoverered in in customercentric-selling-poland PlayTube, allows authenticated attackers to execute arbitrary code via the purchace code to the config.php.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
PlayTube allows authenticated attackers to reinstall the application and execute arbitrary PHP code via the purchase code field in config.php.
Vulnerability
PlayTube, a video sharing platform, contains a vulnerability in its installation script install/index.php. The script does not verify whether the application has already been installed, allowing an authenticated attacker to reinstall the application. During reinstallation, the attacker can supply a malicious purchase code that is written directly to config.php, enabling arbitrary PHP code execution [1]. Affected versions are not specified but include all versions prior to a fix.
Exploitation
An authenticated attacker accesses the install/index.php page. They submit the reinstallation form with a local database configuration to overwrite the administrator password. In the purchase code field, they inject PHP code (e.g., <?php system($_GET['cmd']); ?>). This code is then written to config.php and executed on the server [1].
Impact
Successful exploitation allows the attacker to execute arbitrary PHP code on the web server, leading to full remote code execution (RCE). The attacker can also change the administrator password, gaining persistent administrative access to the PlayTube instance.
Mitigation
As of the publication date, no official patch has been released. The vendor should implement a check in install/index.php to prevent reinstallation if the application is already configured. Users should restrict access to the installation script and monitor for unauthorized reinstallation attempts.
AI Insight generated on May 27, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- customercentric-selling-poland/PlayTubedescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
1- github.com/customercentric-selling-poland/playtuber/issues/1mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.