Lucene search
+L

Synology Photo Station Detection

🗓️ 26 May 2015 00:00:00Reported by Copyright (C) 2015 Greenbone AGType 
openvas
 openvas
🔗 plugins.openvas.org👁 29 Views

Script for detecting Synology Photo Station versio

Related
Code
ReporterTitlePublishedViews
Family
zdt
zdt
Synology Photo Station 6.7.3-3432 / 6.3-2967 - Remote Code Execution Exploit
8 Aug 201700:00
zdt
circl
Circl
CVE-2017-11155
8 Aug 201700:00
circl
cnvd
CNVD
Synology Photo Station Information Disclosure Vulnerability
9 Aug 201700:00
cnvd
cve
CVE
CVE-2017-11155
8 Aug 201715:00
cve
cvelist
Cvelist
CVE-2017-11155
8 Aug 201715:00
cvelist
exploitdb
Exploit DB
Synology Photo Station 6.7.3-3432 / 6.3-2967 - Remote Code Execution
8 Aug 201700:00
exploitdb
nvd
NVD
CVE-2017-11155
8 Aug 201715:29
nvd
openvas
OpenVAS
Synology Photo Station Multiple Vulnerabilities
15 Aug 201700:00
openvas
osv
OSV
CVE-2017-11155
8 Aug 201715:29
osv
packetstorm
Packet Storm
Synology Photo Station 6.7.3-3432 / 6.3-2967 Remote Code Execution
8 Aug 201700:00
packetstorm
Rows per page
# SPDX-FileCopyrightText: 2015 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.105279");
  script_tag(name:"cvss_base", value:"0.0");
  script_tag(name:"cvss_base_vector", value:"AV:N/AC:L/Au:N/C:N/I:N/A:N");
  script_version("2023-07-26T05:05:09+0000");
  script_tag(name:"last_modification", value:"2023-07-26 05:05:09 +0000 (Wed, 26 Jul 2023)");
  script_tag(name:"creation_date", value:"2015-05-26 13:47:01 +0200 (Tue, 26 May 2015)");
  script_name("Synology Photo Station Detection");

  script_tag(name:"summary", value:"The script sends a connection
request to the server and attempts to extract the version number
from the reply.");

  script_tag(name:"qod_type", value:"remote_active");

  script_category(ACT_GATHER_INFO);
  script_family("Product detection");
  script_copyright("Copyright (C) 2015 Greenbone AG");
  script_dependencies("find_service.nasl", "httpver.nasl", "global_settings.nasl");
  script_require_ports("Services/www", 80);
  script_exclude_keys("Settings/disable_cgi_scanning");

  exit(0);
}

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

port = http_get_port(default: 80);

url = '/photo/';
buf = http_get_cache(item: url, port: port);

if ((buf !~ "<title>(Synology )?Photo Station [0-9]{1}</title>" &&
     buf !~ 'content="Synology Photo Station [0-9]{1}') || "webapi/auth.php" >!< buf )
  exit( 0 );

cpe = "cpe:/a:synology:synology_photo_station";
set_kb_item(name: "synology_photo_station/installed", value: TRUE);

psv = 'unknown';
ps_version = eregmatch(pattern: '<title>Photo Station ([0-9]{1})</title>', string: buf);
if (!isnull(ps_version[1])) {
  psv = ps_version[1];
  set_kb_item(name: "synology_photo_station/psv", value: psv);
}
else {
  ps_version = eregmatch(pattern: 'content="Synology Photo Station ([0-9]{1})', string: buf);
  if (!isnull(ps_version[1])) {
    psv = ps_version[1];
    set_kb_item(name: "synology_photo_station/psv", value: psv);
  }
}

vers = 'unknown';
version = eregmatch(pattern: "\.js\?v=([0-9.-]+)", string: buf);
if (!isnull(version[1])) {
  # Note: Since version 6.7.3-3432 and 6.3-2967 we don't get a meaningful version anymore (CVE-2017-11155)
  if (egrep(pattern: "\.", string: version[1])) {
    vers = version[1];
    cpe += ':' + vers;
    set_kb_item( name:"synology_photo_station/version", value: vers );
  }
  else
    version[0] = "";
}

register_product( cpe:cpe, location:url, port:port, service:"www" );

log_message( data: build_detection_report( app:"Synology Photo Station " + psv,
                                           version:vers,
                                           install:url,
                                           cpe:cpe,
                                           concluded: version[0] ),
             port:port );

exit(0);

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

26 Jul 2023 00:00Current
7.4High risk
Vulners AI Score7.4
CVSS 25
CVSS 37.5
EPSS0.47432
29