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 phpFileManager 0.9.8 Remote Code Execution #6303
Conversation
|
||
if res.nil? | ||
vprint_error("#{peer} - Connection timed out") | ||
return :abort |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fail_with
should be used here. If you return :abort
, then line 108 will attempt to send a request to the target with an invalid cookie.
Corrected the issues @OJ. Thanks man |
],self.class) | ||
end | ||
|
||
def check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why not call http_send_command
here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good idea :) I will follow up you with that then
def check | ||
txt = Rex::Text.rand_text_alpha(8) | ||
res = http_send_command("echo #{txt}") | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
now using the http_send_command
@OJ :)
This works for me:
|
@wchen-r7, good to know that it works fine for you too :) |
This module exploits a remote code execution vulnerability in phpFileManager 0.9.8 which is a filesystem management tool on a single file.