Vulnerabilities > CVE-2003-0845 - SQL Injection vulnerability in Jboss 3.0.8/3.2.1

047910
CVSS 7.5 - HIGH
Attack vector
NETWORK
Attack complexity
LOW
Privileges required
NONE
Confidentiality impact
PARTIAL
Integrity impact
PARTIAL
Availability impact
PARTIAL
network
low complexity
jboss
CWE-89
nessus
exploit available

Summary

Unknown vulnerability in the HSQLDB component in JBoss 3.2.1 and 3.0.8 on Java 1.4.x platforms, when running in the default configuration, allows remote attackers to conduct unauthorized activities and possibly execute arbitrary code via certain SQL statements to (1) TCP port 1701 in JBoss 3.2.1, and (2) port 1476 in JBoss 3.0.8.

Vulnerable Configurations

Part Description Count
Application
Jboss
2

Common Attack Pattern Enumeration and Classification (CAPEC)

  • Command Line Execution through SQL Injection
    An attacker uses standard SQL injection methods to inject data into the command line for execution. This could be done directly through misuse of directives such as MSSQL_xp_cmdshell or indirectly through injection of data into the database that would be interpreted as shell commands. Sometime later, an unscrupulous backend application (or could be part of the functionality of the same application) fetches the injected data stored in the database and uses this data as command line arguments without performing proper validation. The malicious data escapes that data plane by spawning new commands to be executed on the host.
  • Object Relational Mapping Injection
    An attacker leverages a weakness present in the database access layer code generated with an Object Relational Mapping (ORM) tool or a weakness in the way that a developer used a persistence framework to inject his or her own SQL commands to be executed against the underlying database. The attack here is similar to plain SQL injection, except that the application does not use JDBC to directly talk to the database, but instead it uses a data access layer generated by an ORM tool or framework (e.g. Hibernate). While most of the time code generated by an ORM tool contains safe access methods that are immune to SQL injection, sometimes either due to some weakness in the generated code or due to the fact that the developer failed to use the generated access methods properly, SQL injection is still possible.
  • SQL Injection through SOAP Parameter Tampering
    An attacker modifies the parameters of the SOAP message that is sent from the service consumer to the service provider to initiate a SQL injection attack. On the service provider side, the SOAP message is parsed and parameters are not properly validated before being used to access a database in a way that does not use parameter binding, thus enabling the attacker to control the structure of the executed SQL query. This pattern describes a SQL injection attack with the delivery mechanism being a SOAP message.
  • Expanding Control over the Operating System from the Database
    An attacker is able to leverage access gained to the database to read / write data to the file system, compromise the operating system, create a tunnel for accessing the host machine, and use this access to potentially attack other machines on the same network as the database machine. Traditionally SQL injections attacks are viewed as a way to gain unauthorized read access to the data stored in the database, modify the data in the database, delete the data, etc. However, almost every data base management system (DBMS) system includes facilities that if compromised allow an attacker complete access to the file system, operating system, and full access to the host running the database. The attacker can then use this privileged access to launch subsequent attacks. These facilities include dropping into a command shell, creating user defined functions that can call system level libraries present on the host machine, stored procedures, etc.
  • SQL Injection
    This attack exploits target software that constructs SQL statements based on user input. An attacker crafts input strings so that when the target software constructs SQL statements based on the input, the resulting SQL statement performs actions other than those the application intended. SQL Injection results from failure of the application to appropriately validate input. When specially crafted user-controlled input consisting of SQL syntax is used without proper validation as part of SQL queries, it is possible to glean information from the database in ways not envisaged during application design. Depending upon the database and the design of the application, it may also be possible to leverage injection to have the database execute system-related commands of the attackers' choice. SQL Injection enables an attacker to talk directly to the database, thus bypassing the application completely. Successful injection can cause information disclosure as well as ability to add or modify data in the database. In order to successfully inject SQL and retrieve information from a database, an attacker:

Exploit-Db

descriptionJBoss 3.0.8/3.2.1 HSQLDB Remote Command Injection Vulnerability. CVE-2003-0845. Remote exploits for multiple platform
idEDB-ID:23221
last seen2016-02-02
modified2003-10-06
published2003-10-06
reporterMarc Schoenefeld
sourcehttps://www.exploit-db.com/download/23221/
titleJBoss 3.0.8/3.2.1 HSQLDB Remote Command Injection Vulnerability

Nessus

  • NASL familyScientific Linux Local Security Checks
    NASL idSL_20071205_OPENOFFICE_ORG__HSQLDB_ON_SL5_X.NASL
    descriptionIt was discovered that HSQLDB could allow the execution of arbitrary public static Java methods. A carefully crafted odb file opened in OpenOffice.org Base could execute arbitrary commands with the permissions of the user running OpenOffice.org. (CVE-2007-4575) It was discovered that HSQLDB did not have a password set on the
    last seen2020-06-01
    modified2020-06-02
    plugin id60324
    published2012-08-01
    reporterThis script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/60324
    titleScientific Linux Security Update : openoffice.org, hsqldb on SL5.x i386/x86_64
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text is (C) Scientific Linux.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(60324);
      script_version("1.4");
      script_cvs_date("Date: 2019/10/25 13:36:17");
    
      script_cve_id("CVE-2003-0845", "CVE-2007-4575");
    
      script_name(english:"Scientific Linux Security Update : openoffice.org, hsqldb on SL5.x i386/x86_64");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:
    "The remote Scientific Linux host is missing one or more security
    updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "It was discovered that HSQLDB could allow the execution of arbitrary
    public static Java methods. A carefully crafted odb file opened in
    OpenOffice.org Base could execute arbitrary commands with the
    permissions of the user running OpenOffice.org. (CVE-2007-4575)
    
    It was discovered that HSQLDB did not have a password set on the 'sa'
    user. If HSQLDB has been configured as a service, a remote attacker
    who could connect to the HSQLDB port (tcp 9001) could execute
    arbitrary SQL commands. (CVE-2003-0845)
    
    Note that in Scientific Linux 5, HSQLDB is not enabled as a service by
    default, and needs manual configuration in order to work as a service."
      );
      # https://listserv.fnal.gov/scripts/wa.exe?A2=ind0712&L=scientific-linux-errata&T=0&P=1009
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.nessus.org/u?a005a6e6"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
      script_set_attribute(attribute:"canvas_package", value:'CANVAS');
      script_cwe_id(94);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"x-cpe:/o:fermilab:scientific_linux");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2007/12/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2012/08/01");
      script_set_attribute(attribute:"generated_plugin", value:"current");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2012-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
      script_family(english:"Scientific Linux Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Scientific Linux " >!< release) audit(AUDIT_HOST_NOT, "running Scientific Linux");
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if (cpu >!< "x86_64" && cpu !~ "^i[3-6]86$") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Scientific Linux", cpu);
    
    
    flag = 0;
    if (rpm_check(release:"SL5", reference:"hsqldb-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"SL5", reference:"hsqldb-demo-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"SL5", reference:"hsqldb-javadoc-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"SL5", reference:"hsqldb-manual-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-base-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-calc-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-core-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-draw-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-emailmerge-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-graphicfilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-impress-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-javafilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-af_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ar-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-as_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-bg_BG-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-bn-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ca_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-cs_CZ-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-cy_GB-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-da_DK-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-de-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-el_GR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-es-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-et_EE-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-eu_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-fi_FI-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-fr-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ga_IE-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-gl_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-gu_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-he_IL-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-hi_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-hr_HR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-hu_HU-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-it-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ja_JP-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-kn_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ko_KR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-lt_LT-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ml_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-mr_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ms_MY-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-nb_NO-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-nl-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-nn_NO-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-nr_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-nso_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-or_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-pa_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-pl_PL-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-pt_BR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-pt_PT-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ru-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-sk_SK-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-sl_SI-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-sr_CS-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ss_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-st_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-sv-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ta_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-te_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-th_TH-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-tn_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-tr_TR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ts_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ur-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-ve_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-xh_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-zh_CN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-zh_TW-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-langpack-zu_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-math-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-pyuno-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-testtools-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-writer-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"SL5", reference:"openoffice.org-xsltfilter-2.0.4-5.4.25")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyRed Hat Local Security Checks
    NASL idREDHAT-RHSA-2007-1048.NASL
    descriptionUpdated openoffice.org and hsqldb packages that fix security flaws are now available for Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. OpenOffice.org is an office productivity suite. HSQLDB is a Java relational database engine used by OpenOffice.org Base. It was discovered that HSQLDB could allow the execution of arbitrary public static Java methods. A carefully crafted odb file opened in OpenOffice.org Base could execute arbitrary commands with the permissions of the user running OpenOffice.org. (CVE-2007-4575) It was discovered that HSQLDB did not have a password set on the
    last seen2020-06-01
    modified2020-06-02
    plugin id63845
    published2013-01-24
    reporterThis script is Copyright (C) 2013-2019 Tenable Network Security, Inc.
    sourcehttps://www.tenable.com/plugins/nessus/63845
    titleRHEL 5 : openoffice.org, hsqldb (RHSA-2007:1048)
    code
    #%NASL_MIN_LEVEL 80502
    #
    # (C) Tenable Network Security, Inc.
    #
    # The descriptive text and package checks in this plugin were  
    # extracted from Red Hat Security Advisory RHSA-2007:1048. The text 
    # itself is copyright (C) Red Hat, Inc.
    #
    
    include("compat.inc");
    
    if (description)
    {
      script_id(63845);
      script_version("1.8");
      script_cvs_date("Date: 2019/10/25 13:36:13");
    
      script_cve_id("CVE-2003-0845", "CVE-2007-4575");
      script_xref(name:"RHSA", value:"2007:1048");
    
      script_name(english:"RHEL 5 : openoffice.org, hsqldb (RHSA-2007:1048)");
      script_summary(english:"Checks rpm output for the updated packages");
    
      script_set_attribute(
        attribute:"synopsis", 
        value:"The remote Red Hat host is missing one or more security updates."
      );
      script_set_attribute(
        attribute:"description", 
        value:
    "Updated openoffice.org and hsqldb packages that fix security flaws are
    now available for Red Hat Enterprise Linux 5.
    
    This update has been rated as having moderate security impact by the
    Red Hat Security Response Team.
    
    OpenOffice.org is an office productivity suite. HSQLDB is a Java
    relational database engine used by OpenOffice.org Base.
    
    It was discovered that HSQLDB could allow the execution of arbitrary
    public static Java methods. A carefully crafted odb file opened in
    OpenOffice.org Base could execute arbitrary commands with the
    permissions of the user running OpenOffice.org. (CVE-2007-4575)
    
    It was discovered that HSQLDB did not have a password set on the 'sa'
    user. If HSQLDB has been configured as a service, a remote attacker
    who could connect to the HSQLDB port (tcp 9001) could execute
    arbitrary SQL commands. (CVE-2003-0845)
    
    Note that in Red Hat Enterprise Linux 5, HSQLDB is not enabled as a
    service by default, and needs manual configuration in order to work as
    a service.
    
    Users of OpenOffice.org or HSQLDB should update to these errata
    packages which contain backported patches to correct these issues."
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.redhat.com/security/data/cve/CVE-2003-0845.html"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"https://www.redhat.com/security/data/cve/CVE-2007-4575.html"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://www.openoffice.org/security/cves/CVE-2007-4575.html"
      );
      script_set_attribute(
        attribute:"see_also",
        value:"http://rhn.redhat.com/errata/RHSA-2007-1048.html"
      );
      script_set_attribute(attribute:"solution", value:"Update the affected packages.");
      script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:C/I:C/A:C");
      script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
      script_set_attribute(attribute:"exploit_available", value:"true");
      script_set_attribute(attribute:"exploit_framework_canvas", value:"true");
      script_set_attribute(attribute:"canvas_package", value:'CANVAS');
      script_cwe_id(94);
    
      script_set_attribute(attribute:"plugin_type", value:"local");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:hsqldb");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:hsqldb-demo");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:hsqldb-javadoc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:hsqldb-manual");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-base");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-calc");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-core");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-draw");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-emailmerge");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-graphicfilter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-impress");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-javafilter");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-af_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ar");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-as_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-bg_BG");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-bn");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ca_ES");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-cs_CZ");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-cy_GB");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-da_DK");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-de");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-el_GR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-es");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-et_EE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-eu_ES");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-fi_FI");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-fr");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ga_IE");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-gl_ES");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-gu_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-he_IL");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-hi_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-hr_HR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-hu_HU");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-it");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ja_JP");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-kn_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ko_KR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-lt_LT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ml_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-mr_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ms_MY");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-nb_NO");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-nl");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-nn_NO");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-nr_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-nso_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-or_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-pa_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-pl_PL");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-pt_BR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-pt_PT");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ru");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-sk_SK");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-sl_SI");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-sr_CS");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ss_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-st_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-sv");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ta_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-te_IN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-th_TH");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-tn_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-tr_TR");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ts_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ur");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-ve_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-xh_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-zh_CN");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-zh_TW");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-langpack-zu_ZA");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-math");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-pyuno");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-testtools");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-writer");
      script_set_attribute(attribute:"cpe", value:"p-cpe:/a:redhat:enterprise_linux:openoffice.org-xsltfilter");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5");
      script_set_attribute(attribute:"cpe", value:"cpe:/o:redhat:enterprise_linux:5.1");
    
      script_set_attribute(attribute:"patch_publication_date", value:"2007/12/05");
      script_set_attribute(attribute:"plugin_publication_date", value:"2013/01/24");
      script_set_attribute(attribute:"vuln_publication_date", value:"2003/10/05");
      script_end_attributes();
    
      script_category(ACT_GATHER_INFO);
      script_copyright(english:"This script is Copyright (C) 2013-2019 Tenable Network Security, Inc.");
      script_family(english:"Red Hat Local Security Checks");
    
      script_dependencies("ssh_get_info.nasl");
      script_require_keys("Host/local_checks_enabled", "Host/RedHat/release", "Host/RedHat/rpm-list");
    
      exit(0);
    }
    
    
    include("audit.inc");
    include("global_settings.inc");
    include("rpm.inc");
    
    if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);
    release = get_kb_item("Host/RedHat/release");
    if (isnull(release) || "Red Hat" >!< release) audit(AUDIT_OS_NOT, "Red Hat");
    if (!get_kb_item("Host/RedHat/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING);
    
    cpu = get_kb_item("Host/cpu");
    if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);
    if ("x86_64" >!< cpu && cpu !~ "^i[3-6]86$" && "s390" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "Red Hat", cpu);
    
    flag = 0;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"hsqldb-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"hsqldb-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"hsqldb-demo-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"hsqldb-demo-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"hsqldb-javadoc-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"hsqldb-javadoc-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"hsqldb-manual-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"hsqldb-manual-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-base-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-base-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-calc-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-calc-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-core-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-core-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-draw-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-draw-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-emailmerge-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-emailmerge-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-graphicfilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-graphicfilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-impress-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-impress-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-javafilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-javafilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-af_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-af_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ar-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ar-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-as_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-as_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-bg_BG-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-bg_BG-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-bn-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-bn-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ca_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ca_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-cs_CZ-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-cs_CZ-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-cy_GB-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-cy_GB-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-da_DK-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-da_DK-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-de-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-de-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-el_GR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-el_GR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-es-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-es-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-et_EE-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-et_EE-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-eu_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-eu_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-fi_FI-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-fi_FI-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-fr-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-fr-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ga_IE-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ga_IE-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-gl_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-gl_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-gu_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-gu_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-he_IL-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-he_IL-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-hi_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-hi_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-hr_HR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-hr_HR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-hu_HU-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-hu_HU-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-it-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-it-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ja_JP-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ja_JP-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-kn_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-kn_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ko_KR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ko_KR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-lt_LT-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-lt_LT-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ml_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ml_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-mr_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-mr_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ms_MY-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ms_MY-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-nb_NO-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-nb_NO-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-nl-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-nl-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-nn_NO-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-nn_NO-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-nr_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-nr_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-nso_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-nso_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-or_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-or_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-pa_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-pa_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-pl_PL-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-pl_PL-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-pt_BR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-pt_BR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-pt_PT-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-pt_PT-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ru-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ru-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-sk_SK-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-sk_SK-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-sl_SI-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-sl_SI-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-sr_CS-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-sr_CS-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ss_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ss_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-st_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-st_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-sv-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-sv-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ta_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ta_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-te_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-te_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-th_TH-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-th_TH-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-tn_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-tn_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-tr_TR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-tr_TR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ts_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ts_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ur-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ur-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-ve_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-ve_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-xh_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-xh_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-zh_CN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-zh_CN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-zh_TW-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-zh_TW-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-langpack-zu_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-langpack-zu_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-math-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-math-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-pyuno-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-pyuno-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-testtools-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-testtools-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-writer-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-writer-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"i386", reference:"openoffice.org-xsltfilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", cpu:"x86_64", reference:"openoffice.org-xsltfilter-2.0.4-5.4.25")) flag++;
    
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"hsqldb-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"hsqldb-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"hsqldb-demo-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"hsqldb-demo-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"hsqldb-javadoc-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"hsqldb-javadoc-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"hsqldb-manual-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"hsqldb-manual-1.8.0.4-3jpp.6")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-base-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-base-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-calc-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-calc-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-core-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-core-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-draw-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-draw-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-emailmerge-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-emailmerge-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-graphicfilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-graphicfilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-impress-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-impress-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-javafilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-javafilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-af_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-af_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ar-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ar-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-as_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-as_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-bg_BG-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-bg_BG-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-bn-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-bn-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ca_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ca_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-cs_CZ-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-cs_CZ-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-cy_GB-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-cy_GB-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-da_DK-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-da_DK-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-de-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-de-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-el_GR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-el_GR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-es-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-es-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-et_EE-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-et_EE-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-eu_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-eu_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-fi_FI-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-fi_FI-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-fr-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-fr-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ga_IE-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ga_IE-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-gl_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-gl_ES-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-gu_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-gu_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-he_IL-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-he_IL-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-hi_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-hi_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-hr_HR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-hr_HR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-hu_HU-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-hu_HU-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-it-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-it-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ja_JP-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ja_JP-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-kn_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-kn_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ko_KR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ko_KR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-lt_LT-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-lt_LT-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ml_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ml_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-mr_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-mr_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ms_MY-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ms_MY-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-nb_NO-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-nb_NO-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-nl-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-nl-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-nn_NO-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-nn_NO-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-nr_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-nr_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-nso_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-nso_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-or_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-or_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-pa_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-pa_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-pl_PL-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-pl_PL-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-pt_BR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-pt_BR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-pt_PT-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-pt_PT-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ru-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ru-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-sk_SK-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-sk_SK-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-sl_SI-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-sl_SI-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-sr_CS-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-sr_CS-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ss_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ss_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-st_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-st_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-sv-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-sv-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ta_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ta_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-te_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-te_IN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-th_TH-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-th_TH-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-tn_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-tn_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-tr_TR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-tr_TR-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ts_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ts_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ur-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ur-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-ve_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-ve_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-xh_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-xh_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-zh_CN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-zh_CN-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-zh_TW-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-zh_TW-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-langpack-zu_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-langpack-zu_ZA-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-math-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-math-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-pyuno-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-pyuno-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-testtools-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-testtools-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-writer-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-writer-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"i386", reference:"openoffice.org-xsltfilter-2.0.4-5.4.25")) flag++;
    if (rpm_check(release:"RHEL5", sp:"1", cpu:"x86_64", reference:"openoffice.org-xsltfilter-2.0.4-5.4.25")) flag++;
    
    
    if (flag)
    {
      if (report_verbosity > 0) security_hole(port:0, extra:rpm_report_get());
      else security_hole(0);
      exit(0);
    }
    else audit(AUDIT_HOST_NOT, "affected");
    
  • NASL familyCentOS Local Security Checks
    NASL idCENTOS_RHSA-2007-1048.NASL
    descriptionUpdated openoffice.org and hsqldb packages that fix security flaws are now available for Red Hat Enterprise Linux 5. This update has been rated as having moderate security impact by the Red Hat Security Response Team. OpenOffice.org is an office productivity suite. HSQLDB is a Java relational database engine used by OpenOffice.org Base. It was discovered that HSQLDB could allow the execution of arbitrary public static Java methods. A carefully crafted odb file opened in OpenOffice.org Base could execute arbitrary commands with the permissions of the user running OpenOffice.org. (CVE-2007-4575) It was discovered that HSQLDB did not have a password set on the
    last seen2020-06-01
    modified2020-06-02
    plugin id43661
    published2010-01-06
    reporterThis script is Copyright (C) 2010-2019 and is owned by Tenable, Inc. or an Affiliate thereof.
    sourcehttps://www.tenable.com/plugins/nessus/43661
    titleCentOS 5 : openoffice.org / hsqldb (CESA-2007:1048)

Oval

accepted2013-04-29T04:13:03.177-04:00
classvulnerability
contributors
  • nameAharon Chernin
    organizationSCAP.com, LLC
  • nameDragos Prisaca
    organizationG2, Inc.
definition_extensions
  • commentThe operating system installed on the system is Red Hat Enterprise Linux 5
    ovaloval:org.mitre.oval:def:11414
  • commentThe operating system installed on the system is CentOS Linux 5.x
    ovaloval:org.mitre.oval:def:15802
  • commentOracle Linux 5.x
    ovaloval:org.mitre.oval:def:15459
descriptionUnknown vulnerability in the HSQLDB component in JBoss 3.2.1 and 3.0.8 on Java 1.4.x platforms, when running in the default configuration, allows remote attackers to conduct unauthorized activities and possibly execute arbitrary code via certain SQL statements to (1) TCP port 1701 in JBoss 3.2.1, and (2) port 1476 in JBoss 3.0.8.
familyunix
idoval:org.mitre.oval:def:11300
statusaccepted
submitted2010-07-09T03:56:16-04:00
titleUnknown vulnerability in the HSQLDB component in JBoss 3.2.1 and 3.0.8 on Java 1.4.x platforms, when running in the default configuration, allows remote attackers to conduct unauthorized activities and possibly execute arbitrary code via certain SQL statements to (1) TCP port 1701 in JBoss 3.2.1, and (2) port 1476 in JBoss 3.0.8.
version19

Redhat

advisories
rhsa
idRHSA-2007:1048
rpms
  • hsqldb-1:1.8.0.4-3jpp.6
  • hsqldb-debuginfo-1:1.8.0.4-3jpp.6
  • hsqldb-demo-1:1.8.0.4-3jpp.6
  • hsqldb-javadoc-1:1.8.0.4-3jpp.6
  • hsqldb-manual-1:1.8.0.4-3jpp.6
  • openoffice.org-base-1:2.0.4-5.4.25
  • openoffice.org-calc-1:2.0.4-5.4.25
  • openoffice.org-core-1:2.0.4-5.4.25
  • openoffice.org-debuginfo-1:2.0.4-5.4.25
  • openoffice.org-draw-1:2.0.4-5.4.25
  • openoffice.org-emailmerge-1:2.0.4-5.4.25
  • openoffice.org-graphicfilter-1:2.0.4-5.4.25
  • openoffice.org-impress-1:2.0.4-5.4.25
  • openoffice.org-javafilter-1:2.0.4-5.4.25
  • openoffice.org-langpack-af_ZA-1:2.0.4-5.4.25
  • openoffice.org-langpack-ar-1:2.0.4-5.4.25
  • openoffice.org-langpack-as_IN-1:2.0.4-5.4.25
  • openoffice.org-langpack-bg_BG-1:2.0.4-5.4.25
  • openoffice.org-langpack-bn-1:2.0.4-5.4.25
  • openoffice.org-langpack-ca_ES-1:2.0.4-5.4.25
  • openoffice.org-langpack-cs_CZ-1:2.0.4-5.4.25
  • openoffice.org-langpack-cy_GB-1:2.0.4-5.4.25
  • openoffice.org-langpack-da_DK-1:2.0.4-5.4.25
  • openoffice.org-langpack-de-1:2.0.4-5.4.25
  • openoffice.org-langpack-el_GR-1:2.0.4-5.4.25
  • openoffice.org-langpack-es-1:2.0.4-5.4.25
  • openoffice.org-langpack-et_EE-1:2.0.4-5.4.25
  • openoffice.org-langpack-eu_ES-1:2.0.4-5.4.25
  • openoffice.org-langpack-fi_FI-1:2.0.4-5.4.25
  • openoffice.org-langpack-fr-1:2.0.4-5.4.25
  • openoffice.org-langpack-ga_IE-1:2.0.4-5.4.25
  • openoffice.org-langpack-gl_ES-1:2.0.4-5.4.25
  • openoffice.org-langpack-gu_IN-1:2.0.4-5.4.25
  • openoffice.org-langpack-he_IL-1:2.0.4-5.4.25
  • openoffice.org-langpack-hi_IN-1:2.0.4-5.4.25
  • openoffice.org-langpack-hr_HR-1:2.0.4-5.4.25
  • openoffice.org-langpack-hu_HU-1:2.0.4-5.4.25
  • openoffice.org-langpack-it-1:2.0.4-5.4.25
  • openoffice.org-langpack-ja_JP-1:2.0.4-5.4.25
  • openoffice.org-langpack-kn_IN-1:2.0.4-5.4.25
  • openoffice.org-langpack-ko_KR-1:2.0.4-5.4.25
  • openoffice.org-langpack-lt_LT-1:2.0.4-5.4.25
  • openoffice.org-langpack-ml_IN-1:2.0.4-5.4.25
  • openoffice.org-langpack-mr_IN-1:2.0.4-5.4.25
  • openoffice.org-langpack-ms_MY-1:2.0.4-5.4.25
  • openoffice.org-langpack-nb_NO-1:2.0.4-5.4.25
  • openoffice.org-langpack-nl-1:2.0.4-5.4.25
  • openoffice.org-langpack-nn_NO-1:2.0.4-5.4.25
  • openoffice.org-langpack-nr_ZA-1:2.0.4-5.4.25
  • openoffice.org-langpack-nso_ZA-1:2.0.4-5.4.25
  • openoffice.org-langpack-or_IN-1:2.0.4-5.4.25
  • openoffice.org-langpack-pa_IN-1:2.0.4-5.4.25
  • openoffice.org-langpack-pl_PL-1:2.0.4-5.4.25
  • openoffice.org-langpack-pt_BR-1:2.0.4-5.4.25
  • openoffice.org-langpack-pt_PT-1:2.0.4-5.4.25
  • openoffice.org-langpack-ru-1:2.0.4-5.4.25
  • openoffice.org-langpack-sk_SK-1:2.0.4-5.4.25
  • openoffice.org-langpack-sl_SI-1:2.0.4-5.4.25
  • openoffice.org-langpack-sr_CS-1:2.0.4-5.4.25
  • openoffice.org-langpack-ss_ZA-1:2.0.4-5.4.25
  • openoffice.org-langpack-st_ZA-1:2.0.4-5.4.25
  • openoffice.org-langpack-sv-1:2.0.4-5.4.25
  • openoffice.org-langpack-ta_IN-1:2.0.4-5.4.25
  • openoffice.org-langpack-te_IN-1:2.0.4-5.4.25
  • openoffice.org-langpack-th_TH-1:2.0.4-5.4.25
  • openoffice.org-langpack-tn_ZA-1:2.0.4-5.4.25
  • openoffice.org-langpack-tr_TR-1:2.0.4-5.4.25
  • openoffice.org-langpack-ts_ZA-1:2.0.4-5.4.25
  • openoffice.org-langpack-ur-1:2.0.4-5.4.25
  • openoffice.org-langpack-ve_ZA-1:2.0.4-5.4.25
  • openoffice.org-langpack-xh_ZA-1:2.0.4-5.4.25
  • openoffice.org-langpack-zh_CN-1:2.0.4-5.4.25
  • openoffice.org-langpack-zh_TW-1:2.0.4-5.4.25
  • openoffice.org-langpack-zu_ZA-1:2.0.4-5.4.25
  • openoffice.org-math-1:2.0.4-5.4.25
  • openoffice.org-pyuno-1:2.0.4-5.4.25
  • openoffice.org-testtools-1:2.0.4-5.4.25
  • openoffice.org-writer-1:2.0.4-5.4.25
  • openoffice.org-xsltfilter-1:2.0.4-5.4.25