Lucene search
+L

AIX maintenance level

🗓️ 03 Nov 2005 00:00:00Reported by Copyright (C) 2004 David MaciejakType 
openvas
 openvas
🔗 plugins.openvas.org👁 32 Views

Checks if the remote AIX server is running the newest maintenance packag

Refs
Code
# SPDX-FileCopyrightText: 2004 David Maciejak
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.14611");
  script_version("2026-04-28T06:28:06+0000");
  script_tag(name:"last_modification", value:"2026-04-28 06:28:06 +0000 (Tue, 28 Apr 2026)");
  script_tag(name:"creation_date", value:"2005-11-03 14:08:04 +0100 (Thu, 03 Nov 2005)");
  script_tag(name:"cvss_base", value:"3.3");
  script_tag(name:"cvss_base_vector", value:"AV:L/AC:M/Au:N/C:N/I:P/A:P");
  script_name("AIX maintenance level");
  script_category(ACT_GATHER_INFO);
  script_copyright("Copyright (C) 2004 David Maciejak");
  script_family("AIX Local Security Checks");
  script_dependencies("gather-package-list.nasl"); # The needed Host/AIX/oslevel kb key is never set here
  script_mandatory_keys("Host/AIX/oslevel");

  script_xref(name:"URL", value:"http://www-912.ibm.com/eserver/support/fixes/");

  script_tag(name:"solution", value:"You should install the mentioned patch for your system to be up-to-date.

  Please see the references for more information.");

  script_tag(name:"summary", value:"This plugin makes sure the remote AIX server is running
  the newest maintenance package.");

  script_tag(name:"qod_type", value:"package");
  script_tag(name:"solution_type", value:"VendorFix");

  exit(0);
}

#here the list of last maintenance level
level4330 = 11;
level5100 = 8;
level5200 = 6;
level5300 = 2;

buf=get_kb_item("Host/AIX/oslevel");
if(!buf)
  exit(0);

v = split(buf, sep:"-",keep:FALSE);
if(isnull(v))
  exit(0);

osversion = int(v[0]);
level = int(chomp(v[1]));

if(osversion == 4330 && level < level4330) {
  report  = 'The remote host is missing an AIX maintenance packages.\n\n';
  report += "Maintenance level " + level + " is installed, last is " + level4330 + ".";
  security_message(port:0, data:report);
  exit(0);
}

if(osversion == 5100 && level < level5100) {
  report  = 'The remote host is missing an AIX maintenance packages.\n\n';
  report += "Maintenance level " + level + " is installed, last is " + level5100 + ".";
  security_message(port:0, data:report);
  exit(0);
}

if(osversion == 5200 && level < level5200) {
  report  = 'The remote host is missing an AIX maintenance packages.\n\n';
  report += "Maintenance level " + level + " is installed, last is " + level5200 + ".";
  security_message(port:0, data:report);
  exit(0);
}

if(osversion == 5300 && level < level5300) {
  report  = 'The remote host is missing an AIX maintenance packages.\n\n';
  report += "Maintenance level " + level + " is installed, last is " + level5300 + ".";
  security_message(port:0, data:report);
  exit(0);
}

exit(99);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

28 Apr 2026 00:00Current
5.3Medium risk
Vulners AI Score5.3
32