Offensive security OSCP student control panel pwned!!

Hey Guys,

I want to share an interesting finding where I was able to do a Privilege escalation attack through Insecure Direct Object References (IDOR) in Offensive Security’s OSCP control panel.

So sometime back I decided to do a quick Vulnerability Assessment on the Offensive Security’s website (https://www.offensive-security.com/) . After looking around for a while there weren’t any direct identifiable vulnerabilities to be found.  At the same time, one of my acquaintance was taking one of the certification exams offered by Offensive Security (OSCP)  was working on the labs.

I had a look at my URL for my lab environment for OSCP, and something looked interesting. I started looking for injection and authorization flaws, after I noticed a parameter pid=117544  as shown in the image:

[![Oscp-cp-1](http://blog.attify.com/content/images/2015/05/unnamed.png)](http://blog.attify.com/content/images/2015/05/unnamed.png)Check the IP addresses of the machines and days left.
 

Testing for parameter manipulation, I changed the value of pid=117543 to another value and I was presented with the control panel of other user as shown in the below image:

[![Check the IP address and days left. ](http://blog.attify.com/content/images/2015/05/sc2.png)](http://blog.attify.com/content/images/2015/05/sc2.png)Check the IP address and days left.
 

And this was how easily I was able to access any other user account as well as to reset other  machines on the network using this specific vulnerability.

The root cause was there was no sufficient authorization check on the server side for the parameter pid  and wasn’t properly mapped with the user sessions.

Offensive Security was quick on fixing this vulnerability.

[![offsec-response](http://blog.attify.com/content/images/2015/05/offsec-response.png)](http://blog.attify.com/content/images/2015/05/offsec-response.png)Offsec Response


comments powered by Disqus
Tags
Android android application security android hands on security and exploitation training android security Apktool application auditing application security auditing appsec usa appwatch attify attify badge attify training binwalk blackberry pentesting blackhat ble BLE hacking and exploitation BLE sniffing box brut Exception chroot cloud based mobile application security scanner consulting CTF Damn Vulnerable iOS App devops dumping memory embedded hacking exploitation exploiting smart devices Firmware hacking frida hackfest hacking smart devices how to secure iot device IDA internet of things Internet of Things Security ios application security ios security iot iot device IoT Exploitation iot hacking iot pentest iot pentesting iot security iot security training iotsecurity jtag jtag debugging mobile app mobile application security mobile application security testing mobile security ninja recon technique offensive iot exploitation ola cabs owasp owasp appsec penetration testing pentesting pentesting mobile apps powerofcommunity PrinterSecurity qemu quizup radio communication protocol radio coomunication Reversing sdr secure coding guidelines security security issue security services security training security vulnerability smart devices social networking spi threat modeling training uart vulnerability writeups xposed hooking zigbee zigbee exploitation zigbee security zwave firmware reverse engineering firmware emulation firmware analysis toolkit firmadyne getting started with firmware hacking iot penetration testing

Instagram