CVE-2022-36262
Description
An issue was discovered in taocms 3.0.2. in the website settings that allows arbitrary php code to be injected by modifying config.php.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Taocms 3.0.2 allows arbitrary PHP code injection via the website settings feature, enabling complete server compromise.
Vulnerability
An arbitrary PHP code injection vulnerability exists in taocms 3.0.2 within the website settings functionality. The issue arises because the application allows an attacker to modify config.php directly via the settings panel, without sufficient input sanitization. This enables injection of arbitrary PHP code into the configuration file, which is then executed when the application loads the settings. [1]
Exploitation
An attacker needs authenticated admin access to the taocms backend. The attacker navigates to the website settings, identifies a field that is written to config.php (e.g., site name, description, or custom fields), and inserts PHP code such as <?php system($_GET['cmd']); ?>. Upon saving, the code is written into config.php, and subsequent page loads execute the injected code. [1]
Impact
Successful exploitation allows the attacker to execute arbitrary PHP code on the server with the privileges of the web server (e.g., www-data). This can lead to full compromise of the taocms instance, including data exfiltration, further server-side attacks, and potential lateral movement within the hosting environment. [1]
Mitigation
The vendor website (taocms.com) appears to be for sale as of the publication date, suggesting the project may be abandoned or unsupported. As of 2022-08-15, no official patch or fixed version has been released. Users of taocms 3.0.2 should consider migrating to an alternative CMS or implementing custom hardening measures such as file permission restrictions on config.php and rigorous input validation on settings fields. [1]
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- taocms/taocmsdescription
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
3- taocms.commitrex_refsource_MISC
- github.com/taogogo/taocms/issues/34mitrex_refsource_MISC
- github.com/taogogo/taocms/issues/34mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.