I Accidentally Logged in as Admin to a Threat Actor Website#2375
Open
carlospolop wants to merge 1 commit into
Open
I Accidentally Logged in as Admin to a Threat Actor Website#2375carlospolop wants to merge 1 commit into
carlospolop wants to merge 1 commit into
Conversation
Collaborator
Author
🔗 Additional ContextOriginal Blog Post: https://potato.id/en/posts/i-accidentally-logged-into-threat-actor-website Content Categories: Based on the analysis, this content was categorized under "Pentesting Web -> Web Vulnerabilities Methodology, or a new subsection for Exposed Installers / Setup Wizard Abuse; could also be cross-referenced from Account Takeover and Login Bypass". 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
Overview
The blog post documents an investigation into a live malware-distribution website that unexpectedly led to administrative access. The issue was not tied to a CVE; it was caused by insecure deployment of a PHP/MySQL web application where the production installer remained reachable after deployment. The exposed installer allowed the application to be reinitialized with attacker-controlled database settings, creating a path to administrative account creation, backend d...
🔧 Technical Details
Abusing exposed production installers
If a deployed PHP/MySQL application leaves an installation wizard accessible, an attacker may be able to rerun the setup workflow. When the installer accepts arbitrary database connection details and does not verify that the application is already initialized, the attacker can point the live application to an attacker-controlled MySQL server, let the application create its schema there, and create a new initial administrator account through the legitimate setup process. Useful discovery targets include paths such as
/install/install.php,/admin/login.php, and exposed configuration locations like/config/database.php.Turning database reconfiguration into takeover and denial of service
An installer that rewrites production database settings can become both an account-takeover primitive and a denial-of-service primitive. By hosting a MySQL server in Docker and e...
🤖 Agent Actions
Done.
Updated:
src/pentesting-web/web-vulnerabilities-methodology.mdWhat I added:
/install/,/setup/,/init/, config paths500errors and unexpected outbound MySQLValidation:
git diffreviewednode --check theme/ht_searcher.jspassedmdbook buildcould not be run becausemdbookis 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.