Authenex ASAS — 1 vulnerability check

noctis ships 1 vulnerability check for Authenex ASAS, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

Authenex ASAS Server <= 3.1.0.3 akeyActivationLogin.do SQL injection

CVECVE-2011-4801
Severityhigh
Categorysqli — SQL injection
Serviceshttp, https
Detectionset_var, http_request, match · highest QoD 70
Feedtests/vulnerabilities/authenex-asas/CVE-2011-4801.yaml

Detects Authenex Strong Authentication System (ASAS) servers of version 3.1.0.3 or earlier, whose End User Self Service script akeyActivationLogin.do builds an SQL query from its login parameters without sanitising them. The feed requests /initial.do and expects the "ASAS Web Management Console Login" page, then reads the "ASAS Web Management Console v<version>" string it prints. A version of 3.1.0.3 or earlier is reported. No injection is sent, so the finding is a version fingerprint.

How noctis detects it

  1. HTTP(S) request GET /initial.do
  2. Checks login.body for ASAS Web Management Console v(?:[0-2](?:\.[0-9]+){0,3}|3\.0(?:\.[0-9]… → finding QoD 70: Authenex ASAS Server 3.1.0.3 or earlier (akeyActivationLogin.do SQL injection, CVE-2011-4801)

References:

Feed source — tests/vulnerabilities/authenex-asas/CVE-2011-4801.yaml
# Authenex ASAS Server 3.1.0.3 and earlier — akeyActivationLogin.do SQL injection (CVE-2011-4801)
#
# The End User Self Service of the ASAS Web Management Console passes the login
# parameters of akeyActivationLogin.do to an SQL query unsanitised. Ported from the
# OpenVAS gb_authenex_asas_server_sql_inj_vuln check, which reads the console version.
#
# The vendor source is not available and the error format of the SQL layer is unknown,
# so no injection is sent: the feed fingerprints the console login page and its
# version instead (read-only GET). Version/fingerprint only: QoD 70.
# NVD publishes only a CVSS v2 score (7.5) for this CVE, so the feed has no cvss.
uid: 6cf95a38-f15e-4295-8352-ff26e02d301e
name: "Authenex ASAS Server <= 3.1.0.3 akeyActivationLogin.do SQL injection (CVE-2011-4801)"
description: |
  Detects Authenex Strong Authentication System (ASAS) servers of version 3.1.0.3 or earlier,
  whose End User Self Service script akeyActivationLogin.do builds an SQL query from its
  login parameters without sanitising them.
  The feed requests /initial.do and expects the "ASAS Web Management Console Login" page, then
  reads the "ASAS Web Management Console v<version>" string it prints. A version of 3.1.0.3 or
  earlier is reported. No injection is sent, so the finding is a version fingerprint.
category: sqli
cves: [CVE-2011-4801]
severity: high
confidence_base: 0.30
tags: [authenex, asas, sqli, version]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2011-4801"

steps:
  - id: init-login
    action: set_var
    var_name: login
    var_value: {status: 0, headers: {}, body: ""}

  - id: probe
    action: http_request
    method: GET
    path: /initial.do
    port: "{{port}}"
    tls_insecure: true
    follow_redirects: false
    timeout_secs: 10
    store_as: login

  - id: old-version
    action: match
    source: login.body
    pattern: 'ASAS Web Management Console v(?:[0-2](?:\.[0-9]+){0,3}|3\.0(?:\.[0-9]+){0,2}|3\.1(?:\.0(?:\.[0-3])?)?)(?:[^0-9.]|\.(?:[^0-9]|$)|$)'
    condition: "login.status == 200 && stridx(login.body, \"ASAS Web Management Console Login\") >= 0"
    on_match:
      finding:
        confidence_delta: 0.40
        qod: 70
        title: "Authenex ASAS Server 3.1.0.3 or earlier (akeyActivationLogin.do SQL injection, CVE-2011-4801)"
        description: "The ASAS Web Management Console login page reports version 3.1.0.3 or earlier, which is affected by the akeyActivationLogin.do SQL injection. The injection was not sent; the finding rests on the version string."
        remediation: "Upgrade Authenex ASAS Server to a version newer than 3.1.0.3."
        evidence: "/initial.do serves the ASAS Web Management Console Login page with a version up to 3.1.0.3"

View these feeds on GitHub