IdealBB — 3 vulnerability checks

noctis ships 3 vulnerability checks for IdealBB, covering 3 CVEs; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

IdealBB <= 1.5.3 SQL injection

CVECVE-2004-2209
Severityhigh · CVSS 7.5
Categorysqli — SQL injection
Serviceshttp, https
Detectionset_var, http_request, script, match · highest QoD 70
Feedtests/vulnerabilities/idealbb/CVE-2004-2209.yaml

Ideal Science IdealBB, an ASP bulletin board, builds SQL queries from request input that is not sanitised, which lets an unauthenticated attacker run arbitrary SQL against the board's database. Versions 1.4.9 to 1.5.3 are affected. The affected pages and parameters were never published, so no request can prove the flaw; this check identifies the version instead.

On the usual install paths (/idealbb, the web root, /forum, /forums, /bb) it requests default.asp, the board index, and reads the version from its "Ideal BB Version: 0.1.x" footer (IdealBB 1.5.3 prints 0.1.5.3). It reports a 0.1.x version lower than 0.1.5.4, with a lower confidence than an exploit proof.

How noctis detects it

  1. HTTP(S) request GET {{dir}}/default.asp
  2. Parses / computes the next value with a Rhai script
  3. Checks hit for runs IdealBB → finding QoD 70: IdealBB <= 1.5.3 SQL injection (CVE-2004-2209)

References:

Feed source — tests/vulnerabilities/idealbb/CVE-2004-2209.yaml
# Ideal Science IdealBB 1.5.3 and older — SQL injection, CVE-2004-2209
# (unspecified vectors; the same releases carry CVE-2004-2207 (cross-site scripting) and CVE-2004-2208 (HTTP response splitting), see the feeds next
# to this file).
#
# Why version only (QoD 70): the CVE records, BID 11424 and the Positive
# Technologies (MaxPatrol) advisory list the flaw classes for IdealBB
# 1.4.9–1.5.3 but name no page or parameter, and the IdealBB sources were never
# published, so there is no request that could prove the flaw. The check reads
# the version IdealBB prints on its board index (default.asp): the footer
# "Ideal BB Version: 0.1.5.3" (product 1.5.3 = internal 0.1.5.3; the string is
# the well-known IdealBB dork "Ideal BB Version: 0.1"), page title
# "The Ideal Bulletin Board".
#
# Ported from OpenVAS/Greenbone NVT `pre2008/idealbb_multiple_flaws.nasl`
# (OID 1.3.6.1.4.1.25623.1.0.15541, GPL-2.0-only): GET <dir>/default.asp for
# /idealbb and the CGI dirs; vulnerable when one line matches
# `<title>The Ideal Bulletin Board</title>.*Ideal BB Version: 0\.1\.([0-4][^0-9]|5[^.]|5\.[1-3][^0-9])`.
# Differences from the NASL:
#   - the NASL needs the title and the version on ONE line (egrep is per line);
#     the board index prints the version in its footer, far from <title>, so the
#     NASL misses most real boards. Here the version footer alone identifies
#     IdealBB (the default title is not required, so boards whose owner renamed
#     them are covered too), and formatting tags around the number are allowed;
#   - also tries the web root and /forum, /forums, /bb (the NASL's CGI dirs are
#     /, /cgi-bin, /scripts);
#   - numeric comparison per component: vulnerable below 0.1.5.4 (the NASL
#     range: every 0.1.x up to 0.1.5.3); 0.1.10 or 0.2 are not reported.
# CVSS: NVD carries only a CVSS v2 score (7.5).
uid: 5f67e840-db69-4678-a7dc-96ed2f60a8ac
name: "IdealBB <= 1.5.3 SQL injection (CVE-2004-2209)"
description: |
  Ideal Science IdealBB, an ASP bulletin board, builds SQL queries from
  request input that is not sanitised, which lets an unauthenticated attacker
  run arbitrary SQL against the board's database. Versions 1.4.9 to 1.5.3 are
  affected. The affected pages and parameters were never published, so no
  request can prove the flaw; this check identifies the version instead.

  On the usual install paths (/idealbb, the web root, /forum, /forums, /bb) it
  requests default.asp, the board index, and reads the version from its "Ideal
  BB Version: 0.1.x" footer (IdealBB 1.5.3 prints 0.1.5.3). It reports a 0.1.x
  version lower than 0.1.5.4, with a lower confidence than an exploit proof.
cves: [CVE-2004-2209]
cvss: 7.5
severity: high
category: sqli
confidence_base: 0.30
tags: [idealbb, ideal-science, forum, asp, sqli, version-check]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2004-2209"
  - "http://www.securityfocus.com/bid/11424"
  - "http://www.maxpatrol.com/advdetails.asp?id=14"

steps:
  - id: init-hit
    action: set_var
    var_name: hit
    var_value: ""

  # ── Per candidate install path (loop group) ───────────────────────────────
  - id: init-page
    action: set_var
    var_name: page
    var_value: {status: 0, body: ""}
    loop:
      var: dir
      over: ["/idealbb", "", "/forum", "/forums", "/bb"]

  - id: fetch-index
    action: http_request
    method: GET
    path: "{{dir}}/default.asp"
    port: "{{port}}"
    tls_insecure: true
    timeout_secs: 8
    condition: 'hit == ""'
    store_as: page

  # Product gate + version: the "Ideal BB Version: X" footer (tags allowed
  # between the label and the number). Reports a version below 0.1.5.4,
  # compared numerically per component.
  - id: check-version
    action: script
    condition: 'hit == ""'
    code: |
      let b = if type_of(page.body) == "string" { page.body } else { "" };
      let out = "";
      if page.status == 200 {
        let m = eregmatch("Ideal BB Version:\\s*(?:<[^>]+>\\s*)*([0-9]{1,6}(?:\\.[0-9]{1,6}){1,3})", b);
        if type_of(m) == "array" && m.len() > 1 {
          let ver = m[1];
          let p = split(ver, ".");
          let v = [0, 0, 0, 0];
          let ok = true;
          for i in 0..p.len() { v[i] = int(p[i]); if v[i] > 999 { ok = false; } }
          let n = ((v[0] * 1000 + v[1]) * 1000 + v[2]) * 1000 + v[3];
          if ok && n >= 1000000 && n < 1005004 {
            out = dir + "/default.asp runs IdealBB, footer \"Ideal BB Version: " + ver + "\"";
          }
        }
      }
      out
    store_as: hit

  # ── Finding ───────────────────────────────────────────────────────────────
  - id: report
    action: match
    source: hit
    pattern: "runs IdealBB"
    on_match:
      finding:
        title: "IdealBB <= 1.5.3 SQL injection (CVE-2004-2209)"
        description: "The site runs IdealBB 1.5.3 or older. These releases pass request input to SQL queries without sanitising it, so an unauthenticated attacker can run arbitrary SQL against the board's database. Detected from the version only; the affected parameters were never published."
        remediation: "Upgrade IdealBB to a release later than 1.5.3 (internal version 0.1.5.4 or later), or replace the board: the product is no longer maintained."
        confidence_delta: 0.45
        qod: 70
        evidence: "{{hit}}; affected up to 0.1.5.3 (IdealBB 1.5.3)"
      stop: true

IdealBB <= 1.5.3 HTTP response splitting

CVECVE-2004-2208
Severitymedium · CVSS 5.0
Categoryxss — XSS
Serviceshttp, https
Detectionset_var, http_request, script, match · highest QoD 70
Feedtests/vulnerabilities/idealbb/CVE-2004-2208.yaml

Ideal Science IdealBB, an ASP bulletin board, copies request input into a response header without removing CR/LF characters, which lets an attacker split the reply and inject headers or a forged page body (HTTP response splitting). Versions 1.4.9 to 1.5.3 are affected. The affected pages and parameters were never published, so no request can prove the flaw; this check identifies the version instead.

On the usual install paths (/idealbb, the web root, /forum, /forums, /bb) it requests default.asp, the board index, and reads the version from its "Ideal BB Version: 0.1.x" footer (IdealBB 1.5.3 prints 0.1.5.3). It reports a 0.1.x version lower than 0.1.5.4, with a lower confidence than an exploit proof.

How noctis detects it

  1. HTTP(S) request GET {{dir}}/default.asp
  2. Parses / computes the next value with a Rhai script
  3. Checks hit for runs IdealBB → finding QoD 70: IdealBB <= 1.5.3 HTTP response splitting (CVE-2004-2208)

References:

Feed source — tests/vulnerabilities/idealbb/CVE-2004-2208.yaml
# Ideal Science IdealBB 1.5.3 and older — HTTP response splitting, CVE-2004-2208
# (unspecified vectors; the same releases carry CVE-2004-2207 (cross-site scripting) and CVE-2004-2209 (SQL injection), see the feeds next
# to this file).
#
# Why version only (QoD 70): the CVE records, BID 11424 and the Positive
# Technologies (MaxPatrol) advisory list the flaw classes for IdealBB
# 1.4.9–1.5.3 but name no page or parameter, and the IdealBB sources were never
# published, so there is no request that could prove the flaw. The check reads
# the version IdealBB prints on its board index (default.asp): the footer
# "Ideal BB Version: 0.1.5.3" (product 1.5.3 = internal 0.1.5.3; the string is
# the well-known IdealBB dork "Ideal BB Version: 0.1"), page title
# "The Ideal Bulletin Board".
#
# Ported from OpenVAS/Greenbone NVT `pre2008/idealbb_multiple_flaws.nasl`
# (OID 1.3.6.1.4.1.25623.1.0.15541, GPL-2.0-only): GET <dir>/default.asp for
# /idealbb and the CGI dirs; vulnerable when one line matches
# `<title>The Ideal Bulletin Board</title>.*Ideal BB Version: 0\.1\.([0-4][^0-9]|5[^.]|5\.[1-3][^0-9])`.
# Differences from the NASL:
#   - the NASL needs the title and the version on ONE line (egrep is per line);
#     the board index prints the version in its footer, far from <title>, so the
#     NASL misses most real boards. Here the version footer alone identifies
#     IdealBB (the default title is not required, so boards whose owner renamed
#     them are covered too), and formatting tags around the number are allowed;
#   - also tries the web root and /forum, /forums, /bb (the NASL's CGI dirs are
#     /, /cgi-bin, /scripts);
#   - numeric comparison per component: vulnerable below 0.1.5.4 (the NASL
#     range: every 0.1.x up to 0.1.5.3); 0.1.10 or 0.2 are not reported.
# CVSS: NVD carries only a CVSS v2 score (5.0).
#
# category: xss — the closed vocabulary has no header-injection value; response
# splitting is used to serve attacker-controlled content (script) to the victim's
# browser, so it is grouped with cross-site scripting.
uid: 053e7905-8b2c-4c11-a861-1ba33f07a8d2
name: "IdealBB <= 1.5.3 HTTP response splitting (CVE-2004-2208)"
description: |
  Ideal Science IdealBB, an ASP bulletin board, copies request input into a
  response header without removing CR/LF characters, which lets an attacker
  split the reply and inject headers or a forged page body (HTTP response
  splitting). Versions 1.4.9 to 1.5.3 are affected. The affected pages and
  parameters were never published, so no request can prove the flaw; this
  check identifies the version instead.

  On the usual install paths (/idealbb, the web root, /forum, /forums, /bb) it
  requests default.asp, the board index, and reads the version from its "Ideal
  BB Version: 0.1.x" footer (IdealBB 1.5.3 prints 0.1.5.3). It reports a 0.1.x
  version lower than 0.1.5.4, with a lower confidence than an exploit proof.
cves: [CVE-2004-2208]
cvss: 5.0
severity: medium
category: xss
confidence_base: 0.30
tags: [idealbb, ideal-science, forum, asp, crlf-injection, version-check]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2004-2208"
  - "http://www.securityfocus.com/bid/11424"
  - "http://www.maxpatrol.com/advdetails.asp?id=14"

steps:
  - id: init-hit
    action: set_var
    var_name: hit
    var_value: ""

  # ── Per candidate install path (loop group) ───────────────────────────────
  - id: init-page
    action: set_var
    var_name: page
    var_value: {status: 0, body: ""}
    loop:
      var: dir
      over: ["/idealbb", "", "/forum", "/forums", "/bb"]

  - id: fetch-index
    action: http_request
    method: GET
    path: "{{dir}}/default.asp"
    port: "{{port}}"
    tls_insecure: true
    timeout_secs: 8
    condition: 'hit == ""'
    store_as: page

  # Product gate + version: the "Ideal BB Version: X" footer (tags allowed
  # between the label and the number). Reports a version below 0.1.5.4,
  # compared numerically per component.
  - id: check-version
    action: script
    condition: 'hit == ""'
    code: |
      let b = if type_of(page.body) == "string" { page.body } else { "" };
      let out = "";
      if page.status == 200 {
        let m = eregmatch("Ideal BB Version:\\s*(?:<[^>]+>\\s*)*([0-9]{1,6}(?:\\.[0-9]{1,6}){1,3})", b);
        if type_of(m) == "array" && m.len() > 1 {
          let ver = m[1];
          let p = split(ver, ".");
          let v = [0, 0, 0, 0];
          let ok = true;
          for i in 0..p.len() { v[i] = int(p[i]); if v[i] > 999 { ok = false; } }
          let n = ((v[0] * 1000 + v[1]) * 1000 + v[2]) * 1000 + v[3];
          if ok && n >= 1000000 && n < 1005004 {
            out = dir + "/default.asp runs IdealBB, footer \"Ideal BB Version: " + ver + "\"";
          }
        }
      }
      out
    store_as: hit

  # ── Finding ───────────────────────────────────────────────────────────────
  - id: report
    action: match
    source: hit
    pattern: "runs IdealBB"
    on_match:
      finding:
        title: "IdealBB <= 1.5.3 HTTP response splitting (CVE-2004-2208)"
        description: "The site runs IdealBB 1.5.3 or older. These releases copy request input into a response header without stripping CR/LF characters, so a crafted link can inject headers or a forged page body into the board's reply (HTTP response splitting). Detected from the version only; the affected parameters were never published."
        remediation: "Upgrade IdealBB to a release later than 1.5.3 (internal version 0.1.5.4 or later), or replace the board: the product is no longer maintained."
        confidence_delta: 0.45
        qod: 70
        evidence: "{{hit}}; affected up to 0.1.5.3 (IdealBB 1.5.3)"
      stop: true

IdealBB <= 1.5.3 cross-site scripting

CVECVE-2004-2207
Severitymedium · CVSS 4.3
Categoryxss — XSS
Serviceshttp, https
Detectionset_var, http_request, script, match · highest QoD 70
Feedtests/vulnerabilities/idealbb/CVE-2004-2207.yaml

Ideal Science IdealBB, an ASP bulletin board, echoes request input into its pages without encoding it, which lets an attacker inject script that runs in the browser of a user who follows a crafted link. Versions 1.4.9 to 1.5.3 are affected. The affected pages and parameters were never published, so no request can prove the flaw; this check identifies the version instead.

On the usual install paths (/idealbb, the web root, /forum, /forums, /bb) it requests default.asp, the board index, and reads the version from its "Ideal BB Version: 0.1.x" footer (IdealBB 1.5.3 prints 0.1.5.3). It reports a 0.1.x version lower than 0.1.5.4, with a lower confidence than an exploit proof.

How noctis detects it

  1. HTTP(S) request GET {{dir}}/default.asp
  2. Parses / computes the next value with a Rhai script
  3. Checks hit for runs IdealBB → finding QoD 70: IdealBB <= 1.5.3 cross-site scripting (CVE-2004-2207)

References:

Feed source — tests/vulnerabilities/idealbb/CVE-2004-2207.yaml
# Ideal Science IdealBB 1.5.3 and older — cross-site scripting, CVE-2004-2207
# (unspecified vectors; the same releases carry CVE-2004-2208 (HTTP response splitting) and CVE-2004-2209 (SQL injection), see the feeds next
# to this file).
#
# Why version only (QoD 70): the CVE records, BID 11424 and the Positive
# Technologies (MaxPatrol) advisory list the flaw classes for IdealBB
# 1.4.9–1.5.3 but name no page or parameter, and the IdealBB sources were never
# published, so there is no request that could prove the flaw. The check reads
# the version IdealBB prints on its board index (default.asp): the footer
# "Ideal BB Version: 0.1.5.3" (product 1.5.3 = internal 0.1.5.3; the string is
# the well-known IdealBB dork "Ideal BB Version: 0.1"), page title
# "The Ideal Bulletin Board".
#
# Ported from OpenVAS/Greenbone NVT `pre2008/idealbb_multiple_flaws.nasl`
# (OID 1.3.6.1.4.1.25623.1.0.15541, GPL-2.0-only): GET <dir>/default.asp for
# /idealbb and the CGI dirs; vulnerable when one line matches
# `<title>The Ideal Bulletin Board</title>.*Ideal BB Version: 0\.1\.([0-4][^0-9]|5[^.]|5\.[1-3][^0-9])`.
# Differences from the NASL:
#   - the NASL needs the title and the version on ONE line (egrep is per line);
#     the board index prints the version in its footer, far from <title>, so the
#     NASL misses most real boards. Here the version footer alone identifies
#     IdealBB (the default title is not required, so boards whose owner renamed
#     them are covered too), and formatting tags around the number are allowed;
#   - also tries the web root and /forum, /forums, /bb (the NASL's CGI dirs are
#     /, /cgi-bin, /scripts);
#   - numeric comparison per component: vulnerable below 0.1.5.4 (the NASL
#     range: every 0.1.x up to 0.1.5.3); 0.1.10 or 0.2 are not reported.
# CVSS: NVD carries only a CVSS v2 score (4.3).
uid: b72b03f0-d854-486b-97d7-7a2d696ca921
name: "IdealBB <= 1.5.3 cross-site scripting (CVE-2004-2207)"
description: |
  Ideal Science IdealBB, an ASP bulletin board, echoes request input into its
  pages without encoding it, which lets an attacker inject script that runs in
  the browser of a user who follows a crafted link. Versions 1.4.9 to 1.5.3
  are affected. The affected pages and parameters were never published, so no
  request can prove the flaw; this check identifies the version instead.

  On the usual install paths (/idealbb, the web root, /forum, /forums, /bb) it
  requests default.asp, the board index, and reads the version from its "Ideal
  BB Version: 0.1.x" footer (IdealBB 1.5.3 prints 0.1.5.3). It reports a 0.1.x
  version lower than 0.1.5.4, with a lower confidence than an exploit proof.
cves: [CVE-2004-2207]
cvss: 4.3
severity: medium
category: xss
confidence_base: 0.30
tags: [idealbb, ideal-science, forum, asp, xss, version-check]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2004-2207"
  - "http://www.securityfocus.com/bid/11424"
  - "http://www.maxpatrol.com/advdetails.asp?id=14"

steps:
  - id: init-hit
    action: set_var
    var_name: hit
    var_value: ""

  # ── Per candidate install path (loop group) ───────────────────────────────
  - id: init-page
    action: set_var
    var_name: page
    var_value: {status: 0, body: ""}
    loop:
      var: dir
      over: ["/idealbb", "", "/forum", "/forums", "/bb"]

  - id: fetch-index
    action: http_request
    method: GET
    path: "{{dir}}/default.asp"
    port: "{{port}}"
    tls_insecure: true
    timeout_secs: 8
    condition: 'hit == ""'
    store_as: page

  # Product gate + version: the "Ideal BB Version: X" footer (tags allowed
  # between the label and the number). Reports a version below 0.1.5.4,
  # compared numerically per component.
  - id: check-version
    action: script
    condition: 'hit == ""'
    code: |
      let b = if type_of(page.body) == "string" { page.body } else { "" };
      let out = "";
      if page.status == 200 {
        let m = eregmatch("Ideal BB Version:\\s*(?:<[^>]+>\\s*)*([0-9]{1,6}(?:\\.[0-9]{1,6}){1,3})", b);
        if type_of(m) == "array" && m.len() > 1 {
          let ver = m[1];
          let p = split(ver, ".");
          let v = [0, 0, 0, 0];
          let ok = true;
          for i in 0..p.len() { v[i] = int(p[i]); if v[i] > 999 { ok = false; } }
          let n = ((v[0] * 1000 + v[1]) * 1000 + v[2]) * 1000 + v[3];
          if ok && n >= 1000000 && n < 1005004 {
            out = dir + "/default.asp runs IdealBB, footer \"Ideal BB Version: " + ver + "\"";
          }
        }
      }
      out
    store_as: hit

  # ── Finding ───────────────────────────────────────────────────────────────
  - id: report
    action: match
    source: hit
    pattern: "runs IdealBB"
    on_match:
      finding:
        title: "IdealBB <= 1.5.3 cross-site scripting (CVE-2004-2207)"
        description: "The site runs IdealBB 1.5.3 or older. These releases echo request input into their pages without encoding it, so a crafted link runs attacker script in the browser of a board user who follows it. Detected from the version only; the affected parameters were never published."
        remediation: "Upgrade IdealBB to a release later than 1.5.3 (internal version 0.1.5.4 or later), or replace the board: the product is no longer maintained."
        confidence_delta: 0.45
        qod: 70
        evidence: "{{hit}}; affected up to 0.1.5.3 (IdealBB 1.5.3)"
      stop: true

View these feeds on GitHub