CVE-2025-55849
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-09-08

Last updated on: 2025-10-09

Assigner: MITRE

Description
WeiPHP v5.0 and before is vulnerable to SQL Injection via the SucaiController.class.php file and the cancelTemplatee
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-09-08
Last Modified
2025-10-09
Generated
2026-05-07
AI Q&A
2025-09-08
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
weiphp weiphp to 5.0 (inc)
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-89 The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

CVE-2025-55849 is a SQL Injection vulnerability in WeiPHP version 5.0 and earlier. It exists in the cancelTemplate() function within the SucaiController.class.php file. This flaw allows remote attackers to inject malicious SQL commands through specially crafted URLs, enabling them to manipulate the database queries executed by the application. [1]


How can this vulnerability impact me? :

This vulnerability can allow remote attackers to perform SQL Injection attacks, which may lead to unauthorized disclosure of sensitive database information. Attackers can extract data such as database user information and potentially other confidential data stored in the database, compromising the security and integrity of the affected system. [1]


How can this vulnerability be detected on my network or system? Can you suggest some commands?

This vulnerability can be detected by sending specially crafted HTTP requests to the vulnerable endpoint and observing the response for SQL injection behavior. For example, you can test using a URL like: public/index.php/admin/Sucai/cancelTemplate?uid=1) and updatexml(1,concat(0x7e,user(),0x7e),1)--+ to check if SQL injection is possible. Additionally, automated tools such as SQLMAP can be used to scan and confirm the vulnerability by targeting the cancelTemplate parameter. [1]


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart