CVSS2
Attack Vector
NETWORK
Attack Complexity
LOW
Authentication
NONE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
AV:N/AC:L/Au:N/C:P/I:P/A:P
EPSS
Percentile
80.8%
The remote host is running a version of Oracle Database that, according to its version number, suffers from a flaw in which Fine Grained Auditing (FGA) becomes disabled when the user SYS runs a SELECT statement.
#%NASL_MIN_LEVEL 70300
#
# (C) Tenable Network Security, Inc.
#
include('deprecated_nasl_level.inc');
include('compat.inc');
if (description)
{
script_id(18205);
script_version("1.18");
script_set_attribute(attribute:"plugin_modification_date", value:"2022/04/11");
script_cve_id("CVE-2005-1495");
script_bugtraq_id(13510);
script_name(english:"Oracle Database 9i/10g Fine Grained Auditing (FGA) SELECT Statement Logging Weakness");
script_set_attribute(attribute:"synopsis", value:
"The remote database server may allow logging to be disabled.");
script_set_attribute(attribute:"description", value:
"The remote host is running a version of Oracle Database that,
according to its version number, suffers from a flaw in which Fine
Grained Auditing (FGA) becomes disabled when the user SYS runs a
SELECT statement.");
# http://www.red-database-security.com/advisory/oracle-fine-grained-auditing-issue.html
script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?7b7e6e40");
script_set_attribute(attribute:"see_also", value:"https://seclists.org/bugtraq/2005/May/43");
script_set_attribute(attribute:"solution", value:
"Apply the 10.1.0.4 patch set for Oracle 10g.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:H/Au:N/C:N/I:P/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2005/05/02");
script_set_attribute(attribute:"patch_publication_date", value:"2005/05/05");
script_set_attribute(attribute:"plugin_publication_date", value:"2005/05/09");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:oracle:database_server");
script_set_attribute(attribute:"thorough_tests", value:"true");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"Databases");
script_copyright(english:"This script is Copyright (C) 2005-2022 Tenable Network Security, Inc.");
script_dependencies("oracle_tnslsnr_version.nasl");
script_require_ports("Services/oracle_tnslsnr");
exit(0);
}
include('global_settings.inc');
if ( report_paranoia < 1 ) exit(0);
port = get_kb_item("Services/oracle_tnslsnr");
if (isnull(port)) exit(0);
ver = get_kb_item(string("oracle_tnslsnr/", port, "/version"));
if (ver) {
if (
ver =~ ".*Version (5\.0\.0\.([012]\.0\.0|2\.9\.0))" ||
ver =~ ".*Version 8\.1\.7" ||
ver =~ ".*Version 9\.(0\.([0124][^0-9]?|1\.[2-5]|4\.0)|2\.0\.0(\.[1-6])?)" ||
ver =~ ".*Version 10\.1\.0\.0\.([2-4][^0-9]?|3\.1)"
) security_note(port);
}