CVE-2010-2846 : Detail

CVE-2010-2846

Cross-site Scripting
A03-Injection
1.06%V3
Network
2010-07-23
18h00 +00:00
2018-10-10
16h57 +00:00
Notifications for a CVE
Stay informed of any changes for a specific CVE.
Notifications manage

CVE Descriptions

Cross-site scripting (XSS) vulnerability in the InterJoomla ArtForms (com_artforms) component 2.1b7.2 RC2 for Joomla! allows remote attackers to inject arbitrary web script or HTML via the afmsg parameter to index.php.

CVE Informations

Related Weaknesses

CWE-ID Weakness Name Source
CWE-79 Improper Neutralization of Input During Web Page Generation ('Cross-site Scripting')
The product does not neutralize or incorrectly neutralizes user-controllable input before it is placed in output that is used as a web page that is served to other users.

Metrics

Metrics Score Severity CVSS Vector Source
V2 4.3 AV:N/AC:M/Au:N/C:N/I:P/A:N 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 : 14263

Publication date : 2010-07-06 22h00 +00:00
Author : Salvatore Fresta
EDB Verified : Yes

ArtForms 2.1b7.2 RC2 Joomla Component Multiple Remote Vulnerabilities Name ArtForms Vendor http://joomlacode.org/gf/project/jartforms/ Versions Affected 2.1b7.2 RC2 Author Salvatore Fresta aka Drosophila Website http://www.salvatorefresta.net Contact salvatorefresta [at] gmail [dot] com Date 2010-07-07 X. INDEX I. ABOUT THE APPLICATION II. DESCRIPTION III. ANALYSIS IV. SAMPLE CODE V. FIX I. ABOUT THE APPLICATION ________________________ ArtForms is a popular Joomla component. The ArtForms component is a package for an easy From Generator for Joomla 1.0.xx. It allows you to generate as much Forms as you like, you can define all fields that you need and also make file upload and attachment possible. II. DESCRIPTION _______________ Some parameters are not sanitised before being used in SQL queries and in danger PHP's functions. The vulnerabilities are reported in version 2.1b7.2 RC2. Other versions may also be affected. III. ANALYSIS _____________ Summary: A) Multiple SQL Injection B) Directory Traversal C) Reflected XSS A) Multiple SQL Injection _________________________ The parameters viewform and id are not properly sanitised before being used in a SQL query.This can be exploited to manipulate SQL queries by injecting arbitrary SQL code. B) Directory Traversal ______________________ The l parameter in alikon/captcha.php is not properly sanitised before being used to create a path for a file that will be downloaded.This can be exploited to download arbitrary files from local resources via directory traversal attacks. C) Reflected XSS ________________ The afmsg parameter is not properly sanitised before being printed.This allows the execution of arbitrary HTML code. IV. SAMPLE CODE _______________ A) Multiple SQL Injection index.php?option=com_artforms&task=ferforms&viewform=1 UNION SELECT 1,2,3,4,5,6%23 index.php?option=com_artforms&task=vferforms&id=1 UNION SELECT 1,2,3,4,5,6%23 index.php?option=com_artforms&task=tferforms&viewform=1 UNION SELECT 1,2,3,4,5,6%23 B) Directory Traversal http://site/path/components/com_artforms/assets/captcha/includes/alikon/playcode.php?l=../../../../../../../../../../../../etc/passwd%00 C) Reflected XSS index.php?option=com_artforms&formid=1&afmsg=<script>alert('xss');</script> V. FIX ______ No fix.

Products Mentioned

Configuraton 0

Gonzalo_maser>>Com_artforms >> Version 2.1b7.2

    Joomla>>Joomla\! >> Version *

    References

    http://www.securityfocus.com/bid/41457
    Tags : vdb-entry, x_refsource_BID
    http://www.exploit-db.com/exploits/14263
    Tags : exploit, x_refsource_EXPLOIT-DB