Document Title:
===============
Simple Blog PHP v1.0 - Multiple Web Vulnerabilities
References (Source):
====================
http://www.vulnerability-lab.com/get_content.php?id=602
Release Date:
=============
2012-06-08
Vulnerability Laboratory ID (VL-ID):
====================================
602
Common Vulnerability Scoring System:
====================================
7.5
Product & Service Introduction:
===============================
Simple Blog PHP script installs easily into your existing website layout. Visitors to your website can read your
posts and leave comments. Any publication of a new comment is spam protected by using captcha verification.
Administrator has their own password protected page. Simple Blog PHP requires PHP and MySQL to run on your server,
so please make sure your hosting meet the requirements. Current stable version of Simple Blog PHP is v1.0.
Simple Blog PHP support these features:
multiple language support
simple css setup with unlimited visual combinations at your control
installation is an easy single step process
copy and paste only one line of code to insert the blog on your web page
text/html editor for the post text
image, flash and youtube clips supported in the post text
search for posts option
number of posts per page
sort the order of comments
server time offset for the comments time
option to create a list with banned words
prevention of HTML injections
approve comments before having them listed
email address where all new comments notifications will be sent to
Blog RSS Feed - validated by W3C
(Copy of the Vendor Homepage: http://www.simpleblogphp.com )
Abstract Advisory Information:
==============================
The Vulnerability Laboratory Research Team discovered multiple different web vulnerabilities in Simple Blog PHP v1.0 CMS.
Vulnerability Disclosure Timeline:
==================================
2012-06-08: Public or Non-Public Disclosure
Discovery Status:
=================
Published
Exploitation Technique:
=======================
Remote
Severity Level:
===============
High
Technical Details & Description:
================================
1.1
Multiple SQL Injection vulnerabilities are detected in the Simple Blog PHP 1.0 Content Management System.
The vulnerability allows an attacker (remote) or local low privileged user account to inject/execute own sql commands
on the affected application dbms without user inter action. Successful exploitation of the vulnerability results in dbms
& application compromise. The vulnerabilities are located in blog.php & admin.php files and bound values orderBy & id.
Vulnerable File(s):
[+] blog.php
[+] admin.php
Vulnerable Parameter(s):
[+] id
[+] orderBy
1.2
Multiple non persistent cross site scripting vulnerabilities are detected in the Simple Blog PHP 1.0 Content Management System.
The vulnerability allows remote attackers to hijack website customer, moderator or admin sessions with high required
user inter action or local low privileged user account. Successful exploitation can result in account steal, phishing
& client-side content request manipulation. The vulnerabilities are located in the preview.php and admin.php files and the
bound values post_id, orderType, search & orderby.
Vulnerable File(s):
[+] blog.php
[+] admin.php
Vulnerable Parameter(s):
[+] post_id
[+] orderType
[+] search
[+] orderBy
Proof of Concept (PoC):
=======================
1.1
The sql injection vulnerabilities can be exploited by remote attackers without required user inter action & without
privileged user account. For demonstration or reproduce ...
PoC:
http://127.0.0.1:8080/cms/blog.php?id=-1'[SQL-INJECTION] --
http://127.0.0.1:8080/cms/blog/admin.php?act=posts&orderType=[ASC/DESC]&search=&orderBy=-1'[SQL-INJECTION] --
http://127.0.0.1:8080/cms/blog/admin.php?act=comments&post_id=&orderType=[ASC|DESC]&search=&orderBy=-1'[SQL-INJECTION] --
http://127.0.0.1:8080/cms/blog/admin.php?act=posts&orderType=-1'[SQL-INJECTION] --
http://127.0.0.1:8080/cms/blog/admin.php?act=comments&post_id=&orderType=-1'[SQL-INJECTION] --
1.2
The non persistent cross site scripting vulnerabilities can be exploited by remote attacker with medium or high required
user inter action & without privileged user account. For demonstration or reproduce ...
PoC:
http://127.0.0.1:8080/cms/blog.php?id=`&p=`&search=>"<[CROSS SITE SCRIPTING]
http://127.0.0.1:8080/cms/blog/admin.php?act=posts&orderType=[ASC|DESC]&search=&orderBy=>"<[CROSS SITE SCRIPTING]
http://127.0.0.1:8080/cms/blog/admin.php?act=posts&orderType=[ASC|DESC]&search=>"<[CROSS SITE SCRIPTING]
http://127.0.0.1:8080/cms/blog/admin.php?act=posts&orderType=>"<[CROSS SITE SCRIPTING]
http://127.0.0.1:8080/cms/blog/admin.php?act=comments&post_id=&orderType=[ASC|DESC]&search=&orderBy=>"<[CROSS SITE SCRIPTING]
http://127.0.0.1:8080/cms/blog/admin.php?act=comments&post_id=&orderType=[ASC|DESC]&search=>"<[CROSS SITE SCRIPTING]
http://127.0.0.1:8080/cms/blog/admin.php?act=comments&post_id=&orderType=>"<[CROSS SITE SCRIPTING]
Security Risk:
==============
1.1
The security risk of the sql injection vulnerabilities are estimated as high(+).
1.2
The security risk of the input validation vulnerabilities are estiamted as medium(+)
Credits & Authors:
==================
Vulnerability Laboratory [Research Team] - snup ([email protected]) [http://snup1.blogspot.com]
Disclaimer & Information:
=========================
The information provided in this advisory is provided as it is without any warranty. Vulnerability-Lab disclaims all warranties,
either expressed or implied, including the warranties of merchantability and capability for a particular purpose. Vulnerability-
Lab or its suppliers are not liable in any case of damage, including direct, indirect, incidental, consequential loss of business
profits or special damages, even if Vulnerability-Lab or its suppliers have been advised of the possibility of such damages. Some
states do not allow the exclusion or limitation of liability for consequential or incidental damages so the foregoing limitation
may not apply. We do not approve or encourage anybody to break any vendor licenses, policies, deface websites, hack into databases
or trade with fraud/stolen material.
Domains: www.vulnerability-lab.com - www.vuln-lab.com - www.vulnerability-lab.com/register
Contact: [email protected] - [email protected] - [email protected]
Section: video.vulnerability-lab.com - forum.vulnerability-lab.com - news.vulnerability-lab.com
Social: twitter.com/#!/vuln_lab - facebook.com/VulnerabilityLab - youtube.com/user/vulnerability0lab
Feeds: vulnerability-lab.com/rss/rss.php - vulnerability-lab.com/rss/rss_upcoming.php - vulnerability-lab.com/rss/rss_news.php
Any modified copy or reproduction, including partially usages, of this file requires authorization from Vulnerability Laboratory.
Permission to electronically redistribute this alert in its unmodified form is granted. All other rights, including the use of other
media, are reserved by Vulnerability-Lab Research Team or its suppliers. All pictures, texts, advisories, sourcecode, videos and
other information on this website is trademark of vulnerability-lab team & the specific authors or managers. To record, list (feed),
modify, use or edit our material contact ([email protected] or [email protected]) to get a permission.
Copyright © 2012 | Vulnerability Laboratory
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