June 2, 2026
Proving Grounds Crane: Semi-Default
Predictable Credentials
Nicolas Garcia
2 min read
Different credentials. Same mistake.
Lesson: Predictability is a vulnerability.
Overview
Crane (PG Lab) is rated Intermediate and community-rated Easy. The community got it right. It is a short straightforward lab. An outdated credential change may send some people down the wrong path, but the reality is much simpler: weak credentials remain weak, even when they're updated.
Initial Enumeration
Seeing SQL-related ports 3306 and 33060 open may tempt us into unnecessary enumeration, but the solution is much simpler. Start with the webpage first.
The webpage is using SuiteCRM, so let's check the default credentials for it.
It lists admin:password as the default credential, but it no longer works. This is where some pentesters may start searching for a more complicated solution. A little patience and curiosity go a long way. Trying another common default credential, admin:admin, was all it took.
Initial Access
We are in. Clicking around the webpage and About page revealed a version 7.12.3.
Googling SuiteCRM 7.12.3 Sugar Build 344 vulnerabilities quickly led to a known exploit.
Manuelz120 published an exploit script and shared it on GitHub. He also provided easy to follow instructions.
Clone the repository.
The instructions recommend pip3 install -r requirements.txt, but Kali required the dependencies to be installed inside a virtual environment venv.
Manuelz120 included a ready to use reverse shell payload, making the exploit easier to use.
The listener connected, but it was a blind shell. To make it user friendly, spawn a PTY using Python 3.
Privilege Escalation
The sudo -l output revealed that www-data could run /usr/sbin/service as root without a password. Rather than supplying a service name, ../../../../bin/bash uses path traversal ../ to navigate to /bin/bash. Since service is running as root, Bash inherits those privileges and drops us directly into a root shell.
Remedies
- Credential Management
- Replace default and predictable credentials with strong, unique passwords.
- Enforce a password policy that prevents weak combinations such as
admin:admin.
- Patch Management
- Update SuiteCRM to a version that is no longer vulnerable to the exploit.
- Regularly review and apply vendor security updates.
- Privilege Management
- Review sudo permissions and follow the principle of least privilege.
- Avoid allowing service management utilities to run as root without strict restrictions.