Lucene search
K

ImpressCMS 1.4.2 Incorrect Access Control Vulnerability

šŸ—“ļøĀ 23 Mar 2022Ā 00:00:00Reported byĀ EgiXTypeĀ 
zdt
Ā zdt
šŸ”—Ā 0day.todayšŸ‘Ā 250Ā 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
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
8 Jun 202604:09
–nuclei
NVD
CVE-2021-26598
28 Mar 202201:15
–nvd
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.76068
250