A pentester found your app's admin panel exposed at `/admin` on the public domain. What do you change?
BeginnerScenarioVulnerability Management and OWASP
Answer
Situation read → Security misconfiguration (OWASP A05). Admin interfaces should not share the public attack surface.
What I'd do →
- Block
/adminat the ingress or WAF for public traffic immediately. - Move admin to a separate hostname reachable only through VPN, zero-trust access (Cloudflare Access, AWS Verified Access, IAP) or the internal network.
- Require SSO with MFA for admin users.
- Add the check to DAST and an external attack-surface scan so it is caught next time.
Why → Even with strong authentication, exposing admin surfaces invites brute force and exploit attempts against the framework.
Interview tip → Defence in depth: network restriction plus strong authentication.
More on Vulnerability Management and OWASP
A pentest report shows SQL injection in a search endpoint of a Java service. How do you handle it end to end?BeginnerA scanner reports 4,000 open CVEs across 300 images. The team can fix maybe 100 a month. How do you prioritise?IntermediateA user reports they can see another customer's invoice by changing the ID in the URL. What do you do?BeginnerA webhook feature lets users enter a URL, and a pentester used it to read the cloud metadata endpoint. How do you fix it?AdvancedA team still runs Log4j 2.14 in an internal service and says it is not internet-facing. How do you respond?IntermediateA security review finds passwords stored as unsalted MD5 hashes. How do you migrate without forcing every user to reset?Advanced