The Challenge
A large professional services firm runs a public-facing web portal supported by an API. Both are reachable from the internet and used daily, which makes them an obvious target for anyone probing for easy footholds. The client wanted an independent view of how the portal and its API would hold up against a determined attacker, and in particular what information an anonymous visitor could gather before any authentication took place.
The concern was not a single feared weakness but the cumulative picture. Modern portals accumulate development artefacts, third-party libraries and configuration defaults over time, and each can quietly widen the attack surface. The client asked us to look closely at the administrative surface of the application, the health of the supporting components, and the configuration of the domains and mail infrastructure that sit around the service. They wanted findings framed by business risk and ordered so their team could act on the most useful items first, rather than a flat list of technical observations.
Our Approach
We ran a combined web application penetration test and API penetration testing engagement, treating the portal and its API as a single connected surface. Testing began from the position of an anonymous internet visitor, then moved through to authenticated flows, mirroring how a real attacker would escalate access.
We mapped the application's exposed content, looking specifically for development leftovers, test harnesses and any material that revealed the administrative function map. We reviewed the third-party libraries in use for known published flaws, and we checked how the application handled errors and sessions. Alongside the application work, we examined the domain name and mail configuration to assess spoofing and hardening gaps.
Throughout, we validated each issue by hand rather than relying on automated output alone, so the client received confirmed findings with clear reproduction detail. We assigned severities based on exploitability and business impact, and we documented each item with practical, prioritized remediation guidance that the client's own team could follow without needing specialist tooling.
What We Found
No critical or high-severity issues were identified, which gave the client useful assurance about the overall posture. The findings clustered into two medium-severity items and a set of lower-severity and informational observations.
- The portal published raw development scripts, test harnesses and a project script manifest, revealing the full administrative function map to anonymous visitors. This exposure gives an attacker a ready-made blueprint of the application's sensitive functions.
- The application showed detailed error messages and stack traces to anonymous visitors, leaking internal detail that assists reconnaissance.
- Supporting components included end-of-life and outdated JavaScript libraries carrying published security flaws.
- Domain name configuration showed hardening gaps, with missing protections on the domains and on the mail domain that weaken defenses against spoofing.
- The administrator login page was reachable from the internet, unlike other administrative interfaces, widening the exposed surface.
- Security headers were incomplete across the web and API hosts, and the web application session cookie was not marked Secure.
Taken together, these issues gave an attacker reconnaissance advantages and several configuration weaknesses to chain, even though no single flaw offered immediate compromise.
The Outcome
We delivered a report that separated the two medium-severity items from the lower-severity and informational observations, so the client could sequence remediation sensibly. The exposed development scripts and the anonymous stack traces were flagged as the highest-value fixes, because both handed reconnaissance detail to anyone probing the service.
Each finding came with specific, actionable guidance: removing development artefacts and test harnesses from the public surface, suppressing detailed errors for anonymous visitors, updating or replacing the outdated libraries, tightening domain and mail configuration, restricting the administrator login page, completing the security header set, and marking the session cookie as Secure. We walked the client's team through the findings so they understood both the technical detail and the business reasoning behind the priorities. The result was a clear, ordered path to reducing the exposed surface, with the client holding confirmed findings and a practical plan to address them.
Why It Matters
Public-facing portals rarely fall to a single dramatic flaw. More often an attacker assembles a picture from small leaks, then chains configuration weaknesses into something meaningful. Exposed development scripts and verbose error pages are exactly the kind of material that shortens that process, because they reveal where the sensitive functions live and how the application is built.
For a large professional services firm, the portal is a trusted front door, and the information it inadvertently publishes shapes how attractive and how easy it is to attack. Outdated libraries, weak DNS and mail configuration, and missing web defaults each lower the effort an attacker needs to expend. Addressing them removes easy wins and raises the cost of an intrusion.
Regular, hands-on testing across both the web application and API surfaces keeps that attack surface understood and controlled as the service evolves. If you run a public portal and want to know what an anonymous visitor can really see, a free consultation is a sensible place to start.
