Offensive Security Proving Grounds Walk Through “WebCal”
Initial Foothold:
Offensive Security Proving Grounds Walk Through “WebCal”
Initial Foothold:
Beginning the initial nmap enumeration.

Running the default nmap scripts.

Gobuster enumeration on the web service.

We see an instance of webcalendar running on /webcalendar. Running gobuster to further enumerate this dir.

Many of these go to login.php. The default credentials don’t work though. Upon searching I found an exploit which gives remote code execution. Works perfectly.

PHP compiler is installed on the box. Using it to get a proper reverse shell.

Privilege Escalation:
Running linpeas to enumerate further. I don’t see anything very interesting. The kernel version however matches with few of the privel exploits such as dirtycow and mempodipper.

The dirtycow exploit doesn’t work somehow. Memodipper exploit works giving us root access. Refer: https://git.zx2c4.com/CVE-2012-0056/

메타데이터
- post_id
- 66a61ced562f
- slug
- offensive-security-proving-grounds-walk-through-webcal-66a61ced562f
- url
- https://medium.com/@vivek-kumar/offensive-security-proving-grounds-walk-through-webcal-66a61ced562f
- canonical_url
- https://medium.com/@vivek-kumar/offensive-security-proving-grounds-walk-through-webcal-66a61ced562f
- author_url
- https://medium.com/@vivek-kumar
- status
- ok
- fetched_at
- 2026-07-27 07:39:41