Lucene search
+L

ImpressCMS 1.4.2 Incorrect Access Control Vulnerability

🗓️ 23 Mar 2022 00:00:00Reported by EgiXType 
zdt
 zdt
🔗 0day.today👁 259 Views

ImpressCMS 1.4.2 Access Control Vulnerability in findusers.php

Related
Code
ReporterTitlePublishedViews
Family
0day.today
ImpressCMS 1.4.2 - Remote Code Execution Exploit
30 Mar 202200:00
zdt
ATTACKERKB
CVE-2021-26598
28 Mar 202201:15
attackerkb
Circl
CVE-2021-26598
28 Mar 202207:39
circl
CNNVD
ImpressCMS 授权问题漏洞
22 Mar 202200:00
cnnvd
CNVD
ImpressCMS Access Control Error Vulnerability
24 Mar 202200:00
cnvd
CVE
CVE-2021-26598
28 Mar 202200:31
cve
Cvelist
CVE-2021-26598
28 Mar 202200:31
cvelist
Exploit DB
ImpressCMS 1.4.2 - Remote Code Execution (RCE)
30 Mar 202200:00
exploitdb
Github Security Blog
Incorrect Access Control in ImpressCMS
29 Mar 202200:01
github
Nuclei
ImpressCMS <1.4.3 - Incorrect Authorization
21 Jul 202603:59
nuclei
Rows per page
--------------------------------------------------------------------------
ImpressCMS <= 1.4.2 (findusers.php) Incorrect Access Control Vulnerability
--------------------------------------------------------------------------


[-] Software Link:

https://www.impresscms.org


[-] Affected Versions:

Version 1.4.2 and prior versions.


[-] Vulnerability Description:

The vulnerability is located in the /include/findusers.php script:

16.    include "../mainfile.php";
17.    xoops_header(false);
18.
19.    $denied = true;
20.    if (!empty($_REQUEST['token'])) {
21.        if (icms::$security->validateToken($_REQUEST['token'], false)) {
22.            $denied = false;
23.        }
24.    } elseif (is_object(icms::$user) && icms::$user->isAdmin()) {
25.        $denied = false;
26.    }
27.    if ($denied) {
28.        icms_core_Message::error(_NOPERM);
29.        exit();
30.    }        }

This script should be accessible to authenticated users only. However, 
because of the "if" statement at lines 20-23, this script could be 
accessed by unauthenticated attackers if they will provide a valid 
security token. Such a token will be generated in several places within 
the application, and some of them do not require the user to be 
authenticated, like in the misc.php script. This might be exploited to 
access an otherwise restricted functionality of the application, which 
in turn might allow an information disclosure about the CMS users.


[-] Solution:

Upgrade to version 1.4.3 or later.


[-] Disclosure Timeline:

[19/01/2021] - Vendor notified through HackerOne
[03/02/2021] - CVE number assigned
[06/02/2022] - Version 1.4.3 released
[22/03/2022] - Public disclosure


[-] CVE Reference:

The Common Vulnerabilities and Exposures project (cve.mitre.org)
has assigned the name CVE-2021-26598 to this vulnerability.


[-] Credits:

Vulnerability discovered by Egidio Romano.


[-] Other References:

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

23 Mar 2022 00:00Current
0.8Low risk
Vulners AI Score0.8
CVSS 25
CVSS 3.15.3
EPSS0.10528
259