Lucene search
K

openSIS 7.4 Local File Inclusion Vulnerability

🗓️ 30 Jun 2020 00:00:00Reported by EgiXType 
zdt
 zdt
🔗 0day.today👁 171 Views

openSIS 7.4 Local File Inclusion Vulnerability in Bottom.ph

Related
Code
ReporterTitlePublishedViews
Family
0day.today
openSIS 7.4 Unauthenticated PHP Code Execution Exploit
7 Jul 202000:00
zdt
Circl
CVE-2020-13383
4 Jul 202015:40
circl
CNVD
Unspecified Vulnerability in Open Solutions for Education openSIS
2 Jul 202000:00
cnvd
CVE
CVE-2020-13383
1 Jul 202014:23
cve
Cvelist
CVE-2020-13383
1 Jul 202014:23
cvelist
Metasploit
openSIS Unauthenticated PHP Code Execution
30 Jun 202013:35
metasploit
NVD
CVE-2020-13383
1 Jul 202015:15
nvd
Packet Storm
openSIS 7.4 Local File Inclusion
30 Jun 202000:00
packetstorm
Packet Storm
openSIS 7.4 Unauthenticated PHP Code Execution
6 Jul 202000:00
packetstorm
Prion
Directory traversal
1 Jul 202015:15
prion
Rows per page
--------------------------------------------------------------
openSIS <= 7.4 (Bottom.php) Local File Inclusion Vulnerability
--------------------------------------------------------------


[-] Software Link:

https://opensis.com/


[-] Affected Versions:

Version 7.4 and prior versions.


[-] Vulnerability Description:

The vulnerable code is located in the /Bottom.php script:

36.  if(clean_param($_REQUEST['modfunc'],PARAM_ALPHA)=='print')
37.  {
38.    $_REQUEST = $_SESSION['_REQUEST_vars'];
39.    $_REQUEST['_openSIS_PDF'] = true;
40.    if(strpos($_REQUEST['modname'],'?')!==false)
41.      $modname = 
substr($_REQUEST['modname'],0,strpos($_REQUEST['modname'],'?'));
42.    else
43.      $modname = $_REQUEST['modname'];
44.    ob_start();
45.    include('modules/'.$modname);

User input passed through the "modname" request parameter is not 
properly sanitized before being
used in a call to the "include()" function at line 45. This can be 
exploited to include arbitrary
local files and potentially access otherwise restricted functionalities 
or execute arbitrary PHP
code with the permissions of the webserver.


[-] Solution:

No official solution is currently available.


[-] Disclosure Timeline:

[04/11/2019] - Vendor notified
[04/11/2019] - Vendor acknowledgement
[10/01/2020] - Vendor contacted again asking for updates
[16/01/2020] - Vendor tried to fix the vulnerability by using 
"mysqli_real_escape_string()"
[06/02/2020] - Vendor was informed about the inappropriate fix
[25/04/2020] - Version 7.4 released, vulnerability still incorrectly 
fixed
[22/05/2020] - CVE number assigned
[30/06/2020] - Public disclosure


[-] CVE Reference:

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


[-] Credits:

Vulnerability discovered by Egidio Romano.

#  0day.today [2020-07-19]  #

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