nerdexam
CompTIA

PT0-002 · Question #515

During an assessment, a penetration tester was able to get access on all target servers by attempting authentication using a service account key that was published on the intranet site as part of a…

The correct answer is C. Secrets management solution. The core issue is the insecure storage and exposure of a service account key on an intranet site, which a secrets management solution directly addresses.

Vulnerability discovery and analysis

Question

During an assessment, a penetration tester was able to get access on all target servers by attempting authentication using a service account key that was published on the intranet site as part of a standard procedure. Which of the following should the penetration tester recommend for this type of finding?

Options

  • APassword encryption
  • BRole-based access control
  • CSecrets management solution
  • DTime-of-day restrictions

How the community answered

(52 responses)
  • A
    8% (4)
  • B
    13% (7)
  • C
    75% (39)
  • D
    4% (2)

Why each option

The core issue is the insecure storage and exposure of a service account key on an intranet site, which a secrets management solution directly addresses.

APassword encryption

Password encryption is generally applied to user passwords, but the problem states a "service account key" and its exposure on an intranet site, which encryption alone for the key doesn't fully solve the insecure storage problem.

BRole-based access control

Role-based access control (RBAC) manages permissions for users and roles, but it does not directly address the secure storage and distribution of service account keys themselves.

CSecrets management solutionCorrect

A secrets management solution provides a secure, centralized way to store, distribute, and manage sensitive information like API keys, database credentials, and service account keys. This prevents the need to hardcode secrets or store them in insecure locations like an intranet site, significantly reducing the risk of exposure and unauthorized access.

DTime-of-day restrictions

Time-of-day restrictions limit when an account can be used, but they do not prevent an exposed key from being used during permitted hours or address the insecure storage of the key.

Concept tested: Secure management of application secrets and credentials

Source: https://en.wikipedia.org/wiki/Secrets_management

Topics

#Secrets management#Credential exposure#Vulnerability remediation#Service account security

Community Discussion

No community discussion yet for this question.

Full PT0-002 Practice