Lucene search
+L

DIY-CMS blog mod - SQL Injection

🗓️ 29 Dec 2011 00:00:00Reported by snupType 
exploitdb
 exploitdb
🔗 www.exploit-db.com👁 36 Views

SQL Injection in DIY-CMS blog mo

Related
Code
ReporterTitlePublishedViews
Family
attackerkb
ATTACKERKB
CVE-2011-5140
31 Aug 201221:55
attackerkb
circl
Circl
CVE-2011-5140
29 Dec 201100:00
circl
checkpoint_advisories
Check Point Advisories
DIY-CMS blog mod SQL Injection (CVE-2011-5140)
12 Aug 201500:00
checkpoint_advisories
cve
CVE
CVE-2011-5140
31 Aug 201221:00
cve
cvelist
Cvelist
CVE-2011-5140
31 Aug 201221:00
cvelist
euvd
EUVD
EUVD-2011-5040
7 Oct 202500:30
euvd
nvd
NVD
CVE-2011-5140
31 Aug 201221:55
nvd
prion
Prion
Sql injection
31 Aug 201221:55
prion
# Exploit Title: DIY-CMS blog mod SQL Injection
# Author: snup
# Contact: [email protected]
# Site: http://e-o-u.org

 SQL Injection:

 DORK:
  inurl:"mod.php?mod=blog" intext:"powered by DIY-CMS"
  inurl:"mod.php?mod=blog"

 BUG:
  http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=tags&tag=features&start=[sqli]
  http://127.0.0.1/diy-cms/mod.php?mod=blog&start=[sqli]
  http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=archive&month=[sqli]
  http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=archive&month=8&year=[sqli]
  http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=list&catid=4&start=[sqli]
  http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=archive&month=8&year=2&start=[sqli]
  http://127.0.0.1/diy-cms/mod.php?mod=blog&modfile=viewpost&blogid=26&start=[sqli]

 Why?:

  The variables $start, $year, $month are not filtered

  In file: /modules/blog/tags.php , list.php , index.php ,
main_index.php , viewpost.php

        $start =(!isset($_GET['start'])) ? '0' : $_GET['start'];

  In file: /modules/blog/archive.php

	$start =(!isset($_GET['start'])) ? '0' : $_GET['start'];
	$month =(!isset($_GET['month'])) ?
error_msg($lang['ARCHIVE_NO_MONTH_SPECIFIED']) : $_GET['month'];
	$year =(!isset($_GET['year'])) ?
error_msg($lang['ARCHIVE_NO_YEAR_SPECIFIED']) : $_GET['year'];

  In file: /modules/blog/control/approve_comments.php ,
approve_posts.php , viewcat.php

        $start =(!isset($_GET['start'])) ? '0' : $_GET['start'];

###########
# Gr33tz: #
#####################################################
# agilob, cOnd, czoik, drummachina, gocys, prick    #
# im2ee, MadCow, n1k0n3r, R3w, rtgn, SiD, vizzdoom  #
#  irc.freenode.net #pakamera  , http://e-o-u.org   #
#####################################################

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

29 Dec 2011 00:00Current
5.2Medium risk
Vulners AI Score5.2
CVSS 27.5
EPSS0.01805
36