How I Hacked a Live Chatbot and Earned My First $$$$ (4-Digi...#2322
Open
carlospolop wants to merge 1 commit into
Open
How I Hacked a Live Chatbot and Earned My First $$$$ (4-Digi...#2322carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://medium.com/@lazysharaf/how-i-hacked-a-live-chatbot-and-earned-my-first-4-digit-bounty-5c43c8891741 Content Categories: Based on the analysis, this content was categorized under "Network Services Pentesting > 1883 - Pentesting MQTT (Mosquitto), with a subsection for MQTT over WebSocket, wildcard topic subscription abuse, frontend config leakage, and default/fallback credential discovery". Repository Maintenance:
Review Notes:
Bot Version: HackTricks News Bot v1.0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🤖 Automated Content Update
This PR was automatically generated by the HackTricks News Bot based on a technical blog post.
📝 Source Information
🎯 Content Summary
The blog post describes a critical bug bounty finding in a private HackerOne program affecting a live customer support chatbot on a major public website. The vulnerability was not a traditional RCE or injection bug; it was a real-time messaging authorization failure in an MQTT-backed chat system that allowed an internet attacker to subscribe to other customers' live support conversations.
1. Initial recon: page source and Drupal settings JSON
The researcher started ...
🔧 Technical Details
Frontend configuration recon: Public page source and framework-generated configuration blocks can disclose backend attack surface. In this case, a Drupal settings JSON block contained a chat
apiUrl:https://chat-backend.[REDACTED]:8081/custom?token=[redacted]. This technique generalizes to looking for API URLs, backend hostnames, non-standard ports, tokens, feature flags, and service-specific configuration in HTML source and embedded JSON.Public environment file leakage: JavaScript environment files such as
env_app.jsmay expose runtime configuration intended for the frontend. Here,https://chat-backend.[REDACTED]:8081/env_app.jswas reachable without authentication and leaked MQTT/WebSocket details:CWC_CONNECTION_USERNAME: 'cwc_user',CWC_CONNECTION_PASSWORD: '[redacted]', andREACT_APP_CWC_MQTT_URL: 'wss://chat-backend.[REDACTED]:8081/mqtt'. In other...🤖 Agent Actions
Done.
Updated:
src/network-services-pentesting/1883-pentesting-mqtt-mosquitto.mdAdded:
env_app.js/ manifest / bundle secret huntingmqttWebSocket PoCValidation:
git diffNote:
mdbook build, butmdbookis not installed in this environment (/bin/bash: mdbook: command not found).This PR was automatically created by the HackTricks Feed Bot. Please review the changes carefully before merging.