Lucene search
K

ImpressCMS 1.4.2 SQL Injection

🗓️ 22 Mar 2022 00:00:00Reported by EgiX, karmainsecurity.comType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 236 Views

ImpressCMS SQL Injection in findusers.php vulnerability version 1.4.3 and prio

Related
Code
ReporterTitlePublishedViews
Family
0day.today
ImpressCMS 1.4.2 SQL Injection Vulnerability
23 Mar 202200:00
zdt
0day.today
ImpressCMS 1.4.2 - Remote Code Execution Exploit
30 Mar 202200:00
zdt
Circl
CVE-2021-26599
28 Mar 202207:39
circl
CNNVD
ImpressCMS SQL注入漏洞
22 Mar 202200:00
cnnvd
CNVD
ImpressCMS SQL Injection Vulnerability (CNVD-2022-30802)
24 Mar 202200:00
cnvd
CVE
CVE-2021-26599
28 Mar 202200:41
cve
Cvelist
CVE-2021-26599
28 Mar 202200:41
cvelist
Exploit DB
ImpressCMS 1.4.2 - Remote Code Execution (RCE)
30 Mar 202200:00
exploitdb
EUVD
EUVD-2022-1455
3 Oct 202520:07
euvd
Github Security Blog
SQL Injection in ImpressCMS
29 Mar 202200:01
github
Rows per page
`---------------------------------------------------------------  
ImpressCMS <= 1.4.3 (findusers.php) SQL Injection Vulnerability  
---------------------------------------------------------------  
  
  
[-] Software Link:  
  
https://www.impresscms.org  
  
  
[-] Affected Versions:  
  
Version 1.4.3 and prior versions.  
  
  
[-] Vulnerability Description:  
  
The vulnerability is located in the /include/findusers.php script:  
  
281. $total =   
$user_handler->getUserCountByGroupLink(@$_POST["groups"], $criteria);  
282.  
283. $validsort = array("uname", "email", "last_login",   
"user_regdate", "posts");  
284. $sort = (!in_array($_POST['user_sort'], $validsort)) ?   
"uname" : $_POST['user_sort'];  
285. $order = "ASC";  
286. if (isset($_POST['user_order']) && $_POST['user_order']   
== "DESC") {  
287. $order = "DESC";  
288. }  
289.  
290. $criteria->setSort($sort);  
291. $criteria->setOrder($order);  
292. $criteria->setLimit($limit);  
293. $criteria->setStart($start);  
294. $foundusers =   
$user_handler->getUsersByGroupLink(@$_POST["groups"], $criteria, TRUE);  
  
User input passed through the "groups" POST parameter is not properly   
sanitized before being passed to the   
icms_member_Handler::getUserCountByGroupLink() and   
icms_member_Handler::getUsersByGroupLink() methods at lines 281 and 294.   
These methods use the first argument to construct a SQL query without   
proper validation, and this can be exploited by remote attackers to e.g.   
read sensitive data from the "users" database table through   
boolean-based SQL Injection attacks. The application allows for stacked   
SQL queries, as such this vulnerability could be exploited to e.g.   
create a new admin user and execute arbitrary PHP code.  
  
  
[-] Solution:  
  
Upgrade to version 1.4.4 or later.  
  
  
[-] Disclosure Timeline:  
  
[19/01/2021] - Vendor notified through HackerOne  
[29/01/2021] - Vulnerability acknowledged by the vendor  
[03/02/2021] - CVE number assigned  
[06/02/2022] - Version 1.4.3 released, vulnerability not correctly fixed  
[11/02/2022] - Vendor was informed about the ineffective fix  
[09/03/2022] - Version 1.4.4 released  
[22/03/2022] - Public disclosure  
  
  
[-] CVE Reference:  
  
The Common Vulnerabilities and Exposures project (cve.mitre.org)  
has assigned the name CVE-2021-26599 to this vulnerability.  
  
  
[-] Credits:  
  
Vulnerability discovered by Egidio Romano.  
  
  
[-] Other References:  
  
https://hackerone.com/reports/1081145  
  
  
[-] Original Advisory:  
  
http://karmainsecurity.com/KIS-2022-04  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

22 Mar 2022 00:00Current
0.7Low risk
Vulners AI Score0.7
EPSS0.03926
236