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

adobe_flash_sps.rb - resource_uri vs get_resource #1954

Merged
merged 1 commit into from Jun 14, 2013

Conversation

Ruslaideemin
Copy link

resource_uri will randomize the returned uri unless
datastore['URIPATH"] is set.

get_resource will return the currently used resource_uri

Since the incorrect type is used, this exploit is completely broken.

Tested fix with both URIPATH set to / and unset, and it works after
redirect.

From debugging this issue:

[] adobe_flash_sps - on_request_uri, request.uri = /HWshQGYxY
, resource_uri = /LiepLh
[
] adobe_flash_sps - on_request_uri, request.uri = /HWshQGYxY
, resource_uri = /M5gB1pfRGKVjIk
[*] adobe_flash_sps - on_request_uri, request.uri = /HWshQGYxY
, resource_uri = /h4CxozFHkLrf2

resource_uri will randomize the returned uri unless
datastore['URIPATH"] is set.

get_resource will return the currently used reosurce_uri

Since the incorrect type is used, this exploit is completely broken.

Tested fix with both URIPATH set to / and unset, and it works after
redirect.
wchen-r7 added a commit that referenced this pull request Jun 14, 2013
@wchen-r7 wchen-r7 merged commit d91b412 into rapid7:master Jun 14, 2013
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