CVE-2021-46204
Description
Taocms v3.0.2 was discovered to contain an arbitrary file read vulnerability via the path parameter. SQL injection vulnerability via taocms\include\Model\Article.php.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Taocms 3.0.2 has an arbitrary file read via path parameter and a SQL injection in Article.php's update() method allowing blind injection.
Vulnerability
Taocms version 3.0.2 suffers from two distinct vulnerabilities. An arbitrary file read vulnerability exists via the path parameter, allowing an attacker to read arbitrary files on the server [1]. Additionally, a SQL injection vulnerability is present in the update() method in taocms\include\Model\Article.php at line 33. The incoming SQL statement in the update() method does not use intval to process the id parameter, enabling blind SQL injection [1]. The Link.php extends Article, so the vulnerable code path is reachable when editing a link.
Exploitation
For the SQL injection, an attacker needs to be authenticated or have the ability to trigger the update() method via the management interface. The proof of concept shows that by editing a link and setting the id parameter to 2)and+sleep(5)--+, a time-based blind SQL injection can be performed [1]. The attacker can manipulate the id parameter in the request to inject SQL commands. For the file read, an attacker can provide a malicious path parameter to read arbitrary files without authentication.
Impact
Successful exploitation of the SQL injection can lead to unauthorized access, modification, or disclosure of database contents, potentially compromising the entire application's data [1]. The arbitrary file read vulnerability allows an attacker to read sensitive files from the server, such as configuration files containing credentials or other sensitive information, leading to further compromise.
Mitigation
As of the publication date (2022-01-19), no fixed version has been released for Taocms 3.0.2. Users should monitor the vendor's repository for patches. Until a fix is available, it is recommended to restrict access to the management interface, implement input validation (e.g., use intval for integer parameters), and apply web application firewall rules to block malicious payloads.
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
1- github.com/taogogo/taocms/issues/14mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.