ScienceLogic Dumpster Fire
The application had default credentials and multiple command injection and SQL injection vulnerabilities, allowing an attacker to execute commands and access the database. The attacker could also escalate privileges to root using a misconfigured sudoers file.
The original lives on web.archive.org
We do not hold its text, so we link to it rather than copy it. The other two tabs are our own rewrites, checked against it.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely the application used default credentials and failed to properly validate user input in multiple endpoints, leading to command injection and SQL injection vulnerabilities, and the system had a sudoers file allowing privilege escalation.
Impact
An attacker could execute arbitrary commands, access the database, and escalate privileges to root, potentially leading to full system compromise.
What the attacker needed
Network access to the application; default credentials unchanged
The fix
The vulnerabilities were reportedly patched by the vendor, but no details were provided.
How it was found
- Access the application using default credentials.
- Navigate to the 'Device Toolbox' menu and examine parameters for command injection.
- Inject a command to demonstrate execution, then replace with a reverse shell payload to gain shell access.
- Use Pspy to monitor process creation and identify additional command injection vulnerabilities.
- Locate a backup copy of the sudoers file and use a permitted command (e.g., find) to escalate privileges to root.
- Decrypt the application source code using a custom PHP module to audit for further vulnerabilities.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this write-up has not been written yet. The Original tab links to the source.
This report describes a security test where the tester found that a web application used default passwords, which are easy-to-guess login details. The tester also found ways to run commands on the server and access the database, and then used a misconfiguration to gain full control of the system.
What is RCE?
Running the attacker's code on the target's servers: through command or code injection, unsafe deserialisation or template injection.