Reconnaissance and Enumeration

A tester's script scrapes a client's web pages and finds an HTML comment: "TODO remove test login admin/Winter2023". Which finding should the report list?

Show the answer

Correct answerB. Information disclosure in page source

AWhy not this: Banners come from service greetings; this data sits in the page's own markup.

BWhy this is right: Credentials left in a served HTML comment are sensitive data exposed to any visitor.

CWhy not this: Scraping is the tester's collection technique, not a weakness in the client's site.

DWhy not this: Nothing shows a search engine indexed it; the tester fetched the pages directly.

The weakness is that the client left credentials in publicly served markup, which is information disclosure. HTML scraping is only the tester's method of collecting the page content, not a flaw in the client's systems.