nerdexam
Cisco

300-910 · Question #48

A security team is running vulnerability scans against a CI/CD pipeline. The reports show that RDBMS secrets were found hardcoded in Ansible scripts. The RDBMS resides in the internal network that is

The correct answer is C. The internal network is at risk of being compromised.. If an attacker gains access to Ansible scripts containing hardcoded RDBMS secrets, the internal network where the RDBMS resides is immediately at risk of compromise.

Security

Question

A security team is running vulnerability scans against a CI/CD pipeline. The reports show that RDBMS secrets were found hardcoded in Ansible scripts. The RDBMS resides in the internal network that is accessible from a jump server that resides in a public network. If an attacker gains access to the scripts, what is the risk exposure?

Exhibit

300-910 question #48 exhibit

Options

  • AThe Automation server is at risk of being compromised.
  • BThe Ansible scripts run through encrypted SSH connections.
  • CThe internal network is at risk of being compromised.
  • DThe entire CI/CD-related infrastructure is at risk.

How the community answered

(43 responses)
  • A
    19% (8)
  • B
    12% (5)
  • C
    65% (28)
  • D
    5% (2)

Why each option

If an attacker gains access to Ansible scripts containing hardcoded RDBMS secrets, the internal network where the RDBMS resides is immediately at risk of compromise.

AThe Automation server is at risk of being compromised.

The question implies the scripts (and thus the secrets) have *already* been accessed by the attacker; the immediate risk is what the attacker can do *with* those secrets, not a compromise of the automation server itself.

BThe Ansible scripts run through encrypted SSH connections.

While Ansible uses encrypted SSH connections, this only protects data in transit. It does not mitigate the risk of hardcoded secrets being exposed at rest if the scripts themselves are compromised.

CThe internal network is at risk of being compromised.Correct

Hardcoded RDBMS secrets provide an attacker with direct credentials to the database. Since the RDBMS is in the internal network and accessible via a jump server from the public network, these compromised secrets allow the attacker to bypass access controls and potentially gain unauthorized access to the internal database, leading to a compromise of that network segment.

DThe entire CI/CD-related infrastructure is at risk.

While an RDBMS compromise can have broader implications, 'the entire CI/CD-related infrastructure' is too broad; the immediate and specific risk exposure described by hardcoded RDBMS secrets is primarily to the database and the internal network it resides within.

Concept tested: Security risks of hardcoded secrets

Source: https://owasp.org/www-project-top-ten/2017/A2_Broken_Authentication.html

Topics

#Hardcoded secrets#CI/CD security#Network risk#Vulnerability management

Community Discussion

No community discussion yet for this question.

Full 300-910 Practice