More Info:

No security group should allow unrestricted inbound access to TCP port 1521 (Oracle Database).

Risk Level

Medium

Address

Security

Compliance Standards

SOC2, GDPR, HITRUST, AWSWAF, NISTCSF, PCIDSS, FedRAMP

Triage and Remediation

Remediation

To remediate the issue of unrestricted Oracle access in AWS, you can follow the below steps:

  1. Open the AWS Management Console and navigate to the RDS service.

  2. Select the affected RDS instance and click on the “Modify” button.

  3. Scroll down to the “Network & Security” section and click on the “Additional Configuration” tab.

  4. In the “Additional Configuration” tab, locate the “Publicly Accessible” option and set it to “No”.

  5. Next, locate the “VPC Security Group” option and select the appropriate security group that allows access only to the required IP addresses or CIDR ranges.

  6. Click on the “Continue” button and review the changes. If everything is correct, click on the “Modify DB Instance” button to apply the changes.

  7. After the changes have been applied, verify that the RDS instance is no longer publicly accessible and that access is restricted to the required IP addresses or CIDR ranges.

By following these steps, you can remediate the issue of unrestricted Oracle access in AWS and ensure that your RDS instance is secure.

Additional Reading: