nerdexam
CompTIA

PT0-002 · Question #34

In an unprotected network file repository, a penetration tester discovers a text file containing usernames and passwords in cleartext and a spreadsheet containing data for 50 employees, including…

The correct answer is D. Document the unprotected file repository as a finding in the penetration-testing report. The most immediate and appropriate next action for a penetration tester discovering sensitive data in an unprotected repository is to document it thoroughly as a critical finding.

Reporting and Communication

Question

In an unprotected network file repository, a penetration tester discovers a text file containing usernames and passwords in cleartext and a spreadsheet containing data for 50 employees, including full names, roles, and serial numbers. The tester realizes some of the passwords in the text file follow the format: <name-serial_number>. Which of the following would be the best action for the tester to take NEXT with this information?

Options

  • ACreate a custom password dictionary as preparation for password spray testing.
  • BRecommend using a password manage/vault instead of text files to store passwords securely.
  • CRecommend configuring password complexity rules in all the systems and applications.
  • DDocument the unprotected file repository as a finding in the penetration-testing report.

How the community answered

(39 responses)
  • A
    10% (4)
  • B
    8% (3)
  • C
    3% (1)
  • D
    79% (31)

Why each option

The most immediate and appropriate next action for a penetration tester discovering sensitive data in an unprotected repository is to document it thoroughly as a critical finding.

ACreate a custom password dictionary as preparation for password spray testing.

Creating a custom password dictionary for password spraying, while technically possible, would involve further active exploitation of the discovered vulnerability and is not the best next action immediately after discovery, which should focus on documentation and reporting.

BRecommend using a password manage/vault instead of text files to store passwords securely.

Recommending a password manager is a good long-term solution, but it's a remediation step and not the immediate action to take after discovering a critical vulnerability during testing; documentation comes first.

CRecommend configuring password complexity rules in all the systems and applications.

Recommending password complexity rules is a valid remediation, but it addresses a symptom (weak passwords) rather than the root cause (unprotected repository) and is a recommendation to be included in the report, not the immediate next action after discovery.

DDocument the unprotected file repository as a finding in the penetration-testing report.Correct

The discovery of cleartext usernames, passwords, and sensitive employee data in an unprotected file repository is a significant security vulnerability. Documenting this finding accurately and immediately in the penetration-testing report is crucial for the client to understand the risk and prioritize remediation. This action adheres to the ethical guidelines of a penetration test, ensuring findings are reported without further exploitation.

Concept tested: Penetration test reporting protocol

Topics

#Penetration testing methodology#Vulnerability documentation#Sensitive data exposure#Reporting

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice