Lucene search
K

isb05-sql.txt

🗓️ 18 Jul 2007 00:00:00Reported by Joseph GironType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 35 Views

Insanely simple blog version 0.5 and below with XSS and SQL injection vulnerabilitie

Code
`Insanely simple blog version 0.5 and below  
http://sourceforge.net/projects/insanelysimple2  
  
ISB contains multple vulnerabilities including both XSS, and SQL injection.  
  
First off, the search action fails to strip user content for html allowing a user to input tags. Next, anonymous blog entries can contain javascript allowing script execution. How? Well, tags are stripped, and there is  
  
As for the sql injection portion, several GET variables allow for the injection of SQL queries.  
  
First of which is the current_subsection variable.  
  
The following proof of concepts are provided  
  
http://www.example.net/index.php?current_subsection=2 or 1=1/*  
^^ dumps all table data.  
http://www.example.net/index.php?current_subsection=2%20union%20all%20select blah from content/*  
  
  
The following bits of code work on the blog.  
<B onmousemver="javascript:alert('lol')">Pizza pie</B>  
<OL onmouseover="alert('lol')">I like it</OL>  
  
The fix for now is to filter blog entries with either a regex or the htmlspecialchars() function. The sql injection can be prevented by making sure the variables are numeric.  
`

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