TMAegis베타
oracle-db 관련 규칙 더 보기

Oracle Database

TMA-ORACLE-REMOTE-OS-AUTHENT

Ensure 'REMOTE_OS_AUTHENT' is set to FALSE

심각레벨 1자동oracle-db

설명

TRUE trusts the client's operating-system user name for OPS$ accounts, which any remote host can spoof. If the parameter no longer exists in the release it is treated as FALSE. Run on the database host as the Oracle software owner with ORACLE_HOME, ORACLE_SID and PATH set; connects with 'sqlplus -S / as sysdba' (OS authentication).

점검 방법

감사 방식: SQL 쿼리

sql_query
out=$(sqlplus -S -L / as sysdba 2>/dev/null <<'EOF'
whenever sqlerror exit failure
set heading off feedback off pagesize 0 verify off echo off trimspool on
select nvl((select upper(value) from v$parameter where name = 'remote_os_authent'), 'FALSE') from dual;
exit
EOF
) || exit 1
printf '%s\n' "$out"
예상 출력
FALSE

조치 방법

조치 방식: 가이드 또는 인프라 패치

ALTER SYSTEM SET REMOTE_OS_AUTHENT = FALSE SCOPE = SPFILE; then restart the instance (rolling restart on RAC)

속성

운영 체제
모두
태그
oracle-dbdatabaseoracleauthentication
참고 자료
CIS Oracle Database 19c Benchmark v2.0.0 - 2.3.14 Ensure 'REMOTE_OS_AUTHENT' Is Set to 'FALSE' (not in the 23ai v1.1.0 benchmark; the parameter is desupported there)

이 호스트 점검하기

감사 권한이 있는 시스템에서 실행하세요. 스캔은 읽기 전용입니다.

shell
tmaegis scan --target oracle-db