CMS - SQL Injection Vulnerability

br Renzi (BR) br
Risk: Medium
Local: No
Remote: Yes

Title: ======= CMS - SQL Injection Vulnerability Introduction: ============== A content management system (CMS) is a computer application that supports the creation and modification of digital content. It is often used to support multiple users working in a collaborative environment. CMS features vary widely. Most CMSs include Web-based publishing, format management, history editing and version control, indexing, search, and retrieval. By their nature, content management systems support the separation of content and presentation. Vulnerability Disclosure: ========================== 2018-02-28: Public Disclosure Affected Product(s): ===================== CMS Exploitation Technique: ======================== Remote Severity Level: ================ High Technical Details & Description: ================================= A remote SQL Injection web vulnerability has been discovered in the "CMS" web-application. The vulnerability allows remote attackers to execute own sql commands to compromise the web-server or dbms. The vulnerability is located in the `catid` parameter of the `cw_categories.php` file GET method request. Request Method(s): [+] GET Vulnerable Function(s): [+] cw_categories.php Vulnerable Parameter(s): [+] catid Proof of Concept (PoC): ======================== The remote sql-injection vulnerability can be exploited by remote attackers with privilege web-application user account and without user interaction. The security demonstration reproduce the web vulnerability exploitation using "UNION QUERY". [+] and 1=0 union select database() Solution ========= In order to avoid SQL Injection it is important to validate all non-SQL text entries, not allowing special characters and SQL key words to be written, such as INSERT, DELETE, UPDATE, HAVING, JOIN, etc. It is interesting to set a maximum of characters for passwords and users. Treat errors appropriately, for messages that do not expose attackers to information about a data structure. Credits ======== Felipe "Renzi" Gabriel Contact ======== References ==========


Vote for this issue:


Thanks for you vote!


Thanks for you comment!
Your message is in quarantine 48 hours.

Comment it here.

(*) - required fields.  
{{ x.nick }} | Date: {{ x.ux * 1000 | date:'yyyy-MM-dd' }} {{ x.ux * 1000 | date:'HH:mm' }} CET+1
{{ x.comment }}

Copyright 2022,


Back to Top