Lucene search
K

ImpressCMS 1.4.2 Path Traversal

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

ImpressCMS 1.4.2 Path Traversal Vulnerabilit

Related
Code
ReporterTitlePublishedViews
Family
0day.today
ImpressCMS 1.4.2 Path Traversal Vulnerability
23 Mar 202200:00
zdt
Circl
CVE-2021-26601
28 Mar 202207:40
circl
CNNVD
ImpressCMS 路径遍历漏洞
22 Mar 202200:00
cnnvd
CNVD
ImpressCMS path traversal vulnerability
24 Mar 202200:00
cnvd
CVE
CVE-2021-26601
28 Mar 202200:51
cve
Cvelist
CVE-2021-26601
28 Mar 202200:51
cvelist
Github Security Blog
Path Traversal in ImpressCMS
29 Mar 202200:01
github
NVD
CVE-2021-26601
28 Mar 202201:15
nvd
OSV
GHSA-4Q96-9F63-P7JJ Path Traversal in ImpressCMS
29 Mar 202200:01
osv
Prion
Directory traversal
28 Mar 202201:15
prion
Rows per page
`-----------------------------------------------------------------  
ImpressCMS <= 1.4.2 (image-edit.php) Path Traversal Vulnerability  
-----------------------------------------------------------------  
  
  
[-] Software Link:  
  
https://www.impresscms.org  
  
  
[-] Affected Versions:  
  
Version 1.4.2 and prior versions.  
  
  
[-] Vulnerability Description:  
  
The vulnerability is located in the   
/libraries/image-editor/image-edit.php script:  
  
161. if (@copy ( ICMS_IMANAGER_FOLDER_PATH . '/temp/' .   
$simage_temp, $categ_path . $simage->getVar ( 'image_name' ) )) {  
162. if (@unlink ( ICMS_IMANAGER_FOLDER_PATH . '/temp/' .   
$simage_temp )) {  
163. $msg = _MD_AM_DBUPDATED;  
  
[...]  
  
190. } else {  
191. if (copy ( ICMS_IMANAGER_FOLDER_PATH . '/temp/' .   
$simage_temp, $categ_path . $imgname )) {  
192. @unlink ( ICMS_IMANAGER_FOLDER_PATH . '/temp/' .   
$simage_temp );  
193. }  
  
User input passed through the "image_temp" parameter is not properly   
sanitized before being used in a call to the unlink() function at lines   
162 and 192. This can be exploited by authenticated attackers to carry   
out Path Traversal attacks and delete arbitrary files in the context of   
the web server process. This vulnerability could be exploited also to   
disclose the content of arbitrary files in case the web server allows   
for directory listing.  
  
[-] Solution:  
  
Upgrade to version 1.4.3 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  
[22/03/2022] - Public disclosure  
  
  
[-] CVE Reference:  
  
The Common Vulnerabilities and Exposures project (cve.mitre.org)  
has assigned the name CVE-2021-26601 to this vulnerability.  
  
  
[-] Credits:  
  
Vulnerability discovered by Egidio Romano.  
  
  
[-] Other References:  
  
https://hackerone.com/reports/1081878  
  
  
[-] Original Advisory:  
  
http://karmainsecurity.com/KIS-2022-02  
  
  
`

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