Skip to content

Instantly share code, notes, and snippets.

Created August 3, 2017 14:59
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save anonymous/97d1e2319b78210606d41f3309aa4c21 to your computer and use it in GitHub Desktop.
Save anonymous/97d1e2319b78210606d41f3309aa4c21 to your computer and use it in GitHub Desktop.

DHL Market Security Vulnerabilities Part 2 - Read and Overwrite all Private Messages

Market Name DHL - Dark Heroes League
Date 3rd August 2017
By t0mcheck and others
URL http://darkheroesq46awl.onion
Access Level regular buyer account
Disclosure Support doesn't acknowledge bugs - FULL DISCLOSURE

DHL - Darknet Heroes League is a darknet market. For part 1 see here

Vulnerability 2.1: Read And Overwrite All Private Messages

On the message reply page there is a hidden field in the form called msg_id which is a unique and sequential message identifier. When replying to a message it will use this message ID to identify which message you are replying to.

If you change it to any other message id, you will be able to reply to that message (another users message) and you will then be given access to that message in your list of messages.

We setup a script to start at the highest message count and then request the last 50 message ID's - we were given access to all 50 message threads in our inbox.

Request

POST /account/message HTTP/1.1
Host: darkheroesq46awl.onion
Content-Length: 102
Content-Type: application/x-www-form-urlencoded

msg_id=244359&recipient=tomcheck&reply=hi+there&disable_encryption=disable_encryption&submit=Add+Reply

Response

You can then request the page at http://darkheroesq46awl.onion/account/message_view?msg_id=244359 to view the message

You can also overwrite the last message by setting the ID directly to a reply

Screenshots

For an indication of the number of messages that aren't encrypted - note the following message from a vendor:

None of those encypted messages are important besides the very first one, don't waste your time encrypting them.

vuln1 vuln2 vuln3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment