Easy Admin Access — RVDP
2023-11-16 15:7:24 Author: infosecwriteups.com(查看原文) 阅读量:8 收藏

Initial Reconnaissance

Initially, I examined the company’s main website, looking at every page and link to identify any obvious security flaws. However, after a looking at the primary domain, I got nothing worthy. It seemed that the company had taken significant measures to protect their primary domain. Then I decided to further expand the scope and using my bash one liner I enumerated subdomains passively. I found a bunch of subdomains and then using httpx I found checked for active subdomains and found 11 active one.

Active Subdomains

I checked few subdomains from top and then went on to check with the staging.redacted.com subdomain.

Hacking The Subdomain

When initially I tried to access the subdomain, it threw a pop up asking for username and password.

Authentication Pop up

Next, I tried to access this with the IP, but it didn’t work either as it gave not found error.

Not Found

So, now after this, I thought of looking for any open ports on this IP using NMAP. Got few open ports and one of the ports caught my attention. When tried to access the IP with the open port and http protocol, it landed on some employee management portal.

Portal

So, this is some third-party service the target was using and when checked on internet, easy time pro is used for attendance and inventory management things. Here as seen, 2 different sign-ins are there, one for admin and other for employee login.

I tried using default credentials on admin portal, and simply got the admin access 🐧!

Admin access to the portal

文章来源: https://infosecwriteups.com/easy-admin-access-rvdp-d1eb2c97cb3e?source=rss----7b722bfd1b8d--bug_bounty
如有侵权请联系:admin#unsafe.sh