nerdexam
Oracle

1Z0-052 · Question #238

Anyone who knows just the host name and the listener name can have full control over the listener. They can stop the listener and also obtain detailed information about the listener, database, and…

The correct answer is E. set a password for the listener. Setting a password on the Oracle listener restricts administrative commands so that only authenticated users can stop it or query its configuration. This directly closes the unauthenticated access gap described.

Configuring the Oracle Network Environment

Question

Anyone who knows just the host name and the listener name can have full control over the listener. They can stop the listener and also obtain detailed information about the listener, database, and the configuration of the application. How would you avoid this scenario?

Options

  • Alock the listener
  • Bhide the listener
  • Ccreate multiple listeners
  • Drun listener on a remote client
  • Eset a password for the listener
  • Fstore listener.ora in a non-default location

How the community answered

(26 responses)
  • D
    4% (1)
  • E
    88% (23)
  • F
    8% (2)

Why each option

Setting a password on the Oracle listener restricts administrative commands so that only authenticated users can stop it or query its configuration. This directly closes the unauthenticated access gap described.

Alock the listener

'Lock the listener' is not a valid Oracle Net listener security feature or lsnrctl command.

Bhide the listener

'Hide the listener' is not a recognized Oracle listener security mechanism and does not prevent access by someone who already knows the listener name.

Ccreate multiple listeners

Creating multiple listeners multiplies the attack surface and does nothing to prevent unauthorized administrative access to any individual listener.

Drun listener on a remote client

Running the listener on a remote client changes its location but does not add authentication, so the same unauthenticated access problem persists.

Eset a password for the listenerCorrect

Oracle Net listener supports password-based authentication via the PASSWORDS_<listener_name> parameter in listener.ora or by using the 'change_password' command in lsnrctl. Once set, any lsnrctl administrative command (STOP, STATUS, RELOAD) requires the correct password, preventing unauthorized users who only know the hostname and listener name from controlling or interrogating the listener.

Fstore listener.ora in a non-default location

Storing listener.ora in a non-default directory relies on security through obscurity and does not require authentication to control the listener process itself.

Concept tested: Oracle Net listener password authentication security

Source: https://docs.oracle.com/en/database/oracle/oracle-database/19/netag/configuring-and-administering-oracle-net-listener.html

Topics

#listener password#listener security#LSNRCTL#network security

Community Discussion

No community discussion yet for this question.

Full 1Z0-052 Practice