what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

News Script PHP 1.2 Cross Site Scripting / SQL Injection

News Script PHP 1.2 Cross Site Scripting / SQL Injection
Posted Jun 16, 2012
Authored by Hubert Wojciechowski, Vulnerability Laboratory | Site vulnerability-lab.com

News Script PHP version 1.2 suffers from cross site scripting and remote SQL injection vulnerabilities.

tags | exploit, remote, php, vulnerability, xss, sql injection
SHA-256 | 4f91b96444d9a7ad5e3bf14091e749f2a203bd78d3759a7e97e27059e8181b15

News Script PHP 1.2 Cross Site Scripting / SQL Injection

Change Mirror Download
Title:
======
News Script PHP v1.2 - Multiple Web Vulnerabilites


Date:
=====
2012-06-07


References:
===========
http://www.vulnerability-lab.com/get_content.php?id=600


VL-ID:
=====
600


Common Vulnerability Scoring System:
====================================
7.5


Introduction:
=============
Visitors to your website will be able to read news, articles, interviews and stories which you have posted.
Features of News Script PHP:

simple one-step installation
easy to place on your webpage - copy and paste a single line of code
password protected admin area with multiple options and features that you can control
publish news in any language
three different options of displaying your news page
simple text editor for the news content area
caption below the article image
news search box (optional)
adjusting number of news items per page.
full control over visual style of the news
each of the news articles can have two images - one for the summary and one for the full article
complete control over image placement on the page (left, right, top and bottom)
ability to resize the image to fit the article
view counter for each news article
set default server time offset
RSS News Feed with images, validated by w3c
Simple, uncomplicated script with easy to understand menus, features, etc.
anyone with a minimum knowledge of websites can install and make this script work

News Script PHP requires PHP 4.3 or higher and MySQL 3 or higher to run on your server.
Current stable version of News Script PHP is 1.2

(Copy of the Vendor Homepage: http://www.newsscriptphp.com )


Abstract:
=========
The Vulnerability Laboratory Research Team discovered multiple different web vulnerabilites in News Script PHP v1.2 CMS.


Report-Timeline:
================
2012-06-07: Public Public Disclosure


Status:
========
Published


Exploitation-Technique:
=======================
Remote


Severity:
=========
High


Details:
========
1.1
Multiple SQL Injection vulnerabilities are detected in the News Script PHP 1.2 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 admin.php &
preview.php file and bound values like orderBy & id.

Vulnerable File(s):
[+] preview.php
[+] admin.php

Vulnerable Parameter(s):
[+] id
[+] orderBy


1.2
Multiple non persistent cross site scripting vulnerabilities are detected in the News Script PHP 1.2 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 like search, ordertype, orderby & act.

Vulnerable File(s):
[+] preview.php
[+] admin.php

Vulnerable Parameter(s):
[+] search
[+] orderType
[+] orderBy
[+] act


Proof of Concept:
=================
1.1
The sql injection vulnerabilities can be exploited without required user inter action with privileged user account.
For demonstration or reproduce ...

PoC:
http://127.0.0.1:1338/news/preview.php?id=[SQL-INJECTION]
http://127.0.0.1:1338/news/preview.php?p=[SQL-INJECTION]
http://127.0.0.1:1338/news/admin.php?act=news&orderType=[ASC/DESC]&search=&orderBy=[SQL-INJECTION]


1.2
The non persistent input validation vulnerabilities can be exploited by remote attackers with medium or high required
user inter action & without privileged user account. For demonstration or reproduce ...

PoC:
http://127.0.0.1:1338/news/preview.php?id=`14&p=`&search=[CROSS SITE SCRIPTING]
http://127.0.0.1:1338/news/admin.php?act=news&orderType=`[CROSS SITE SCRIPTING]
http://127.0.0.1:1338/news/admin.php?act=news&orderType=[CROSS SITE SCRIPTING]]&search=&orderBy=[CROSS SITE SCRIPTING]
http://127.0.0.1:1338/news/preview.php?act=news&orderType=[CROSS SITE SCRIPTING]


Risk:
=====
1.1
The security risk of the sql injection vulnerabilities are estimated as hard

1.2
The security risk of the input validation vulnerabilities are estiamted as low(+)


Credits:
========
Vulnerability Laboratory [Research Team] - snup (snup@vulnerability-lab.com) [http://snup1.blogspot.com]



Disclaimer:
===========
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.

Domains: www.vulnerability-lab.com - www.vuln-lab.com
Contact: admin@vulnerability-lab.com - support@vulnerability-lab.com - research@vulnerability-lab.com
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

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 (admin@vulnerability-lab.com or support@vulnerability-lab.com) to get a permission.

Copyright © 2012 Vulnerability-Lab




--
VULNERABILITY RESEARCH LABORATORY TEAM
Website: www.vulnerability-lab.com
Mail: research@vulnerability-lab.com

Login or Register to add favorites

File Archive:

April 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Apr 1st
    10 Files
  • 2
    Apr 2nd
    26 Files
  • 3
    Apr 3rd
    40 Files
  • 4
    Apr 4th
    6 Files
  • 5
    Apr 5th
    26 Files
  • 6
    Apr 6th
    0 Files
  • 7
    Apr 7th
    0 Files
  • 8
    Apr 8th
    22 Files
  • 9
    Apr 9th
    14 Files
  • 10
    Apr 10th
    10 Files
  • 11
    Apr 11th
    13 Files
  • 12
    Apr 12th
    14 Files
  • 13
    Apr 13th
    0 Files
  • 14
    Apr 14th
    0 Files
  • 15
    Apr 15th
    30 Files
  • 16
    Apr 16th
    10 Files
  • 17
    Apr 17th
    22 Files
  • 18
    Apr 18th
    0 Files
  • 19
    Apr 19th
    0 Files
  • 20
    Apr 20th
    0 Files
  • 21
    Apr 21st
    0 Files
  • 22
    Apr 22nd
    0 Files
  • 23
    Apr 23rd
    0 Files
  • 24
    Apr 24th
    0 Files
  • 25
    Apr 25th
    0 Files
  • 26
    Apr 26th
    0 Files
  • 27
    Apr 27th
    0 Files
  • 28
    Apr 28th
    0 Files
  • 29
    Apr 29th
    0 Files
  • 30
    Apr 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close