
Exploiting WordPress vulnerabilities (CVE-2025-34077), authentication bypass via cookie injection, and privilege escalation to root. Part of my Cybersecurity Specialization.
Exploiting WordPress vulnerabilities (CVE-2025-34077), authentication bypass via cookie injection, and privilege escalation to root. Part of my Cybersecurity Specialization.

In this first session of my Cybersecurity journey, I moved away from the myths. I learned that you don't need to be a math genius or an expert programmer to identify security breaches; you need creativity, logic, and a solid methodology.
I treated the "BigWear" server like an office building where I needed to reach the safe. Here is the logical process I followed:
I started by identifying entry points.
Action: I used Nmap to scan the "building" (the server).
Discovery: I found Port 80 open, running a website powered by WordPress.


I navigated to the lab IP 172.17.0.2 to inspect the site.

WPScan to act as an inspector and list installed plugins.
Discovery: I found a plugin called Pie Register (v3.7.1.4).

Research: I searched Google and found a public security flaw: CVE-2025-34077. A CVE is like a "faulty factory part" ID for software.

Once the flaw was identified, I didn't need to guess passwords.


Result: The system got confused and handed over the Administrator's session cookies.

I exploited CVE-2025-34077 in the Pie Register plugin to bypass authentication on the target WordPress site. By running this script, I successfully hijacked the admin session cookies, allowing me to log in as the administrator without a password. I then automated the process using Metasploit to confirm the vulnerability and gain full control over the web application.




Now I wanted to move from the "reception" to the "engine room" (the server).


revshells.com to generate a malicious PHP code, pasted it into index.php, and set up a listener with Netcat on port 4444.



Inside the server, I looked for the ultimate prize: Root access.
Discovery: In /opt/bigwear/backend/settings.py, I found a critical human error: Plaintext credentials (pepe:BigWear2024!@#).




su root. Because of password reuse, it worked!
This lab proved that a single oversight—an outdated plugin or a reused password—is enough to expose thousands of people. Cybersecurity is a methodology, and understanding this logical process allows me to become the shield that organizations desperately need.
Disclaimer: This lab was conducted in a controlled environment for educational purposes as part of a Cybersecurity course.