ID PHPMYADMIN_PMASA_2016_7.NASL Type nessus Reporter This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof. Modified 2021-02-02T00:00:00
Description
According to its self-reported version number, the phpMyAdmin
application hosted on the remote web server is 4.4.x prior to
4.4.15.3 or 4.5.x prior to 4.5.4. It is, therefore, affected by the
following vulnerabilities :
An information disclosure vulnerability exists in the
AES.php and Rijndael.php scripts that allows a remote
attacker, via a specially crafted request, to disclose
the software's installation path. (CVE-2016-2042)
A cross-site scripting vulnerability exists due to
improper validation of user-supplied input to the
normalization script when handling a crafted table name
before returning it to users. An authenticated, remote
attacker can exploit this, via specially crafted
request, to execute arbitrary script code in a user's
browser session. (CVE-2016-2043)
Note that Nessus has not attempted to exploit these issues but has
instead relied only on the application's self-reported version number.
#
# (C) Tenable Network Security, Inc.
#
include("compat.inc");
if (description)
{
script_id(88986);
script_version("1.5");
script_cvs_date("Date: 2019/11/20");
script_cve_id("CVE-2016-2042", "CVE-2016-2043");
script_bugtraq_id(82097, 82101);
script_name(english:"phpMyAdmin 4.4.x < 4.4.15.3 / 4.5.x < 4.5.4 Multiple Vulnerabilities (PMASA-2016-6, PMASA-2016-7)");
script_summary(english:"Checks the version of phpMyAdmin.");
script_set_attribute(attribute:"synopsis", value:
"The remote web server hosts a PHP application that is affected by
multiple vulnerabilities.");
script_set_attribute(attribute:"description", value:
"According to its self-reported version number, the phpMyAdmin
application hosted on the remote web server is 4.4.x prior to
4.4.15.3 or 4.5.x prior to 4.5.4. It is, therefore, affected by the
following vulnerabilities :
- An information disclosure vulnerability exists in the
AES.php and Rijndael.php scripts that allows a remote
attacker, via a specially crafted request, to disclose
the software's installation path. (CVE-2016-2042)
- A cross-site scripting vulnerability exists due to
improper validation of user-supplied input to the
normalization script when handling a crafted table name
before returning it to users. An authenticated, remote
attacker can exploit this, via specially crafted
request, to execute arbitrary script code in a user's
browser session. (CVE-2016-2043)
Note that Nessus has not attempted to exploit these issues but has
instead relied only on the application's self-reported version number.");
script_set_attribute(attribute:"see_also", value:"https://www.phpmyadmin.net/security/PMASA-2016-6/");
script_set_attribute(attribute:"see_also", value:"https://www.phpmyadmin.net/security/PMASA-2016-7/");
script_set_attribute(attribute:"solution", value:
"Upgrade to phpMyAdmin version 4.4.15.3 / 4.5.4 or later.
Alternatively, apply the patch referenced in the vendor advisory.");
script_set_cvss_base_vector("CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N");
script_set_cvss_temporal_vector("CVSS2#E:U/RL:OF/RC:C");
script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N");
script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C");
script_set_attribute(attribute:"cvss_score_source", value:"CVE-2016-2042");
script_set_attribute(attribute:"exploitability_ease", value:"No exploit is required");
script_set_attribute(attribute:"exploit_available", value:"false");
script_set_attribute(attribute:"vuln_publication_date", value:"2015/01/23");
script_set_attribute(attribute:"patch_publication_date", value:"2015/01/23");
script_set_attribute(attribute:"plugin_publication_date", value:"2016/02/26");
script_set_attribute(attribute:"potential_vulnerability", value:"true");
script_set_attribute(attribute:"plugin_type", value:"remote");
script_set_attribute(attribute:"cpe", value:"cpe:/a:phpmyadmin:phpmyadmin");
script_end_attributes();
script_category(ACT_GATHER_INFO);
script_family(english:"CGI abuses");
script_copyright(english:"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.");
script_dependencies("phpMyAdmin_detect.nasl");
script_require_keys("www/PHP", "installed_sw/phpMyAdmin", "Settings/ParanoidReport");
script_require_ports("Services/www", 80);
exit(0);
}
include("audit.inc");
include("global_settings.inc");
include("misc_func.inc");
include("http.inc");
include("install_func.inc");
appname = "phpMyAdmin";
get_install_count(app_name:appname, exit_if_zero:TRUE);
port = get_http_port(default:80, php:TRUE);
install = get_single_install(app_name:appname, port:port, exit_if_unknown_ver:TRUE);
dir = install['path'];
url = build_url(qs:dir, port:port);
version = install['version'];
if (version =~ "^4(\.[45])?$") audit(AUDIT_VER_NOT_GRANULAR, appname, port, version);
if (version !~ "^4\.[45][^0-9]") audit(AUDIT_WEB_APP_NOT_INST, appname + " 4.4.x / 4.5.x", port);
if (report_paranoia < 2) audit(AUDIT_PARANOID);
re = make_array(
-2, "-beta(\d+)",
-1, "-rc(\d+)"
);
# Affected version
# 4.4.x < 4.4.15.3
# 4.5.x < 4.5.4
cut_off = NULL;
fixed_ver = NULL;
if (version =~ "^4\.4\.")
{
cut_off = '4.4.0';
fixed_ver = '4.4.15.3';
}
else if (version =~ "^4\.5\.")
{
cut_off = '4.5.0';
fixed_ver = '4.5.4';
}
else
{
audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, url, version);
}
if (
ver_compare(ver:version, fix:cut_off, regexes:re) >= 0 &&
ver_compare(ver:version, fix:fixed_ver, regexes:re) == -1
)
{
report =
'\n URL : ' + url +
'\n Installed version : ' + version +
'\n Fixed version : ' + fixed_ver +
'\n';
set_kb_item(name:'www/'+port+'/XSS', value:TRUE);
security_report_v4(port:port, severity:SECURITY_WARNING, extra:report);
}
else audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, url, version);
{"id": "PHPMYADMIN_PMASA_2016_7.NASL", "bulletinFamily": "scanner", "title": "phpMyAdmin 4.4.x < 4.4.15.3 / 4.5.x < 4.5.4 Multiple Vulnerabilities (PMASA-2016-6, PMASA-2016-7)", "description": "According to its self-reported version number, the phpMyAdmin\napplication hosted on the remote web server is 4.4.x prior to\n4.4.15.3 or 4.5.x prior to 4.5.4. It is, therefore, affected by the\nfollowing vulnerabilities :\n\n - An information disclosure vulnerability exists in the\n AES.php and Rijndael.php scripts that allows a remote\n attacker, via a specially crafted request, to disclose\n the software's installation path. (CVE-2016-2042)\n\n - A cross-site scripting vulnerability exists due to\n improper validation of user-supplied input to the\n normalization script when handling a crafted table name\n before returning it to users. An authenticated, remote\n attacker can exploit this, via specially crafted\n request, to execute arbitrary script code in a user's\n browser session. (CVE-2016-2043)\n\nNote that Nessus has not attempted to exploit these issues but has\ninstead relied only on the application's self-reported version number.", "published": "2016-02-26T00:00:00", "modified": "2021-02-02T00:00:00", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}, "href": "https://www.tenable.com/plugins/nessus/88986", "reporter": "This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.", "references": ["https://www.phpmyadmin.net/security/PMASA-2016-6/", "https://www.phpmyadmin.net/security/PMASA-2016-7/"], "cvelist": ["CVE-2016-2042", "CVE-2016-2043"], "type": "nessus", "lastseen": "2021-02-01T05:20:21", "edition": 27, "viewCount": 2, "enchantments": {"dependencies": {"references": [{"type": "cve", "idList": ["CVE-2016-2043", "CVE-2016-2042"]}, {"type": "openvas", "idList": ["OPENVAS:1361412562310807079"]}, {"type": "freebsd", "idList": ["7694927F-C60B-11E5-BF36-6805CA0B3D42", "740BADCB-C60B-11E5-BF36-6805CA0B3D42"]}, {"type": "phpmyadmin", "idList": ["PHPMYADMIN:PMASA-2016-6", "PHPMYADMIN:PMASA-2016-7"]}, {"type": "nessus", "idList": ["FREEBSD_PKG_7694927FC60B11E5BF366805CA0B3D42.NASL", "OPENSUSE-2016-168.NASL", "FEDORA_2016-E1FE01E96E.NASL", "FREEBSD_PKG_740BADCBC60B11E5BF366805CA0B3D42.NASL", "OPENSUSE-2016-151.NASL", "PHPMYADMIN_PMASA_2016_PATH_DISCLOSURE.NASL", "FEDORA_2016-E55278763E.NASL"]}, {"type": "typo3", "idList": ["TYPO3-EXT-SA-2016-007"]}, {"type": "fedora", "idList": ["FEDORA:4F6D8619640B", "FEDORA:051106087A81"]}, {"type": "f5", "idList": ["F5:K93445609", "SOL93445609"]}], "modified": "2021-02-01T05:20:21", "rev": 2}, "score": {"value": 5.3, "vector": "NONE", "modified": "2021-02-01T05:20:21", "rev": 2}, "vulnersScore": 5.3}, "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(88986);\n script_version(\"1.5\");\n script_cvs_date(\"Date: 2019/11/20\");\n\n script_cve_id(\"CVE-2016-2042\", \"CVE-2016-2043\");\n script_bugtraq_id(82097, 82101);\n\n script_name(english:\"phpMyAdmin 4.4.x < 4.4.15.3 / 4.5.x < 4.5.4 Multiple Vulnerabilities (PMASA-2016-6, PMASA-2016-7)\");\n script_summary(english:\"Checks the version of phpMyAdmin.\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote web server hosts a PHP application that is affected by\nmultiple vulnerabilities.\");\n script_set_attribute(attribute:\"description\", value:\n\"According to its self-reported version number, the phpMyAdmin\napplication hosted on the remote web server is 4.4.x prior to\n4.4.15.3 or 4.5.x prior to 4.5.4. It is, therefore, affected by the\nfollowing vulnerabilities :\n\n - An information disclosure vulnerability exists in the\n AES.php and Rijndael.php scripts that allows a remote\n attacker, via a specially crafted request, to disclose\n the software's installation path. (CVE-2016-2042)\n\n - A cross-site scripting vulnerability exists due to\n improper validation of user-supplied input to the\n normalization script when handling a crafted table name\n before returning it to users. An authenticated, remote\n attacker can exploit this, via specially crafted\n request, to execute arbitrary script code in a user's\n browser session. (CVE-2016-2043)\n\nNote that Nessus has not attempted to exploit these issues but has\ninstead relied only on the application's self-reported version number.\");\n script_set_attribute(attribute:\"see_also\", value:\"https://www.phpmyadmin.net/security/PMASA-2016-6/\");\n script_set_attribute(attribute:\"see_also\", value:\"https://www.phpmyadmin.net/security/PMASA-2016-7/\");\n script_set_attribute(attribute:\"solution\", value:\n\"Upgrade to phpMyAdmin version 4.4.15.3 / 4.5.4 or later.\nAlternatively, apply the patch referenced in the vendor advisory.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N\");\n script_set_cvss_temporal_vector(\"CVSS2#E:U/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:U/RL:O/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2016-2042\");\n\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No exploit is required\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2015/01/23\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2015/01/23\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2016/02/26\");\n\n script_set_attribute(attribute:\"potential_vulnerability\", value:\"true\");\n script_set_attribute(attribute:\"plugin_type\", value:\"remote\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/a:phpmyadmin:phpmyadmin\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"CGI abuses\");\n\n script_copyright(english:\"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"phpMyAdmin_detect.nasl\");\n script_require_keys(\"www/PHP\", \"installed_sw/phpMyAdmin\", \"Settings/ParanoidReport\");\n script_require_ports(\"Services/www\", 80);\n\n exit(0);\n}\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"http.inc\");\ninclude(\"install_func.inc\");\n\nappname = \"phpMyAdmin\";\nget_install_count(app_name:appname, exit_if_zero:TRUE);\n\nport = get_http_port(default:80, php:TRUE);\n\ninstall = get_single_install(app_name:appname, port:port, exit_if_unknown_ver:TRUE);\ndir = install['path'];\nurl = build_url(qs:dir, port:port);\nversion = install['version'];\n\nif (version =~ \"^4(\\.[45])?$\") audit(AUDIT_VER_NOT_GRANULAR, appname, port, version);\nif (version !~ \"^4\\.[45][^0-9]\") audit(AUDIT_WEB_APP_NOT_INST, appname + \" 4.4.x / 4.5.x\", port);\n\nif (report_paranoia < 2) audit(AUDIT_PARANOID);\n\nre = make_array(\n -2, \"-beta(\\d+)\",\n -1, \"-rc(\\d+)\"\n);\n\n# Affected version\n# 4.4.x < 4.4.15.3\n# 4.5.x < 4.5.4\ncut_off = NULL;\nfixed_ver = NULL;\n\nif (version =~ \"^4\\.4\\.\")\n{\n cut_off = '4.4.0';\n fixed_ver = '4.4.15.3';\n}\nelse if (version =~ \"^4\\.5\\.\")\n{\n cut_off = '4.5.0';\n fixed_ver = '4.5.4';\n}\nelse\n{\n audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, url, version);\n}\n\nif (\n ver_compare(ver:version, fix:cut_off, regexes:re) >= 0 &&\n ver_compare(ver:version, fix:fixed_ver, regexes:re) == -1\n)\n{\n report =\n '\\n URL : ' + url +\n '\\n Installed version : ' + version +\n '\\n Fixed version : ' + fixed_ver +\n '\\n';\n\n set_kb_item(name:'www/'+port+'/XSS', value:TRUE);\n\n security_report_v4(port:port, severity:SECURITY_WARNING, extra:report);\n}\nelse audit(AUDIT_WEB_APP_NOT_AFFECTED, appname, url, version);\n", "naslFamily": "CGI abuses", "pluginID": "88986", "cpe": ["cpe:/a:phpmyadmin:phpmyadmin"], "scheme": null, "cvss3": {"score": 5.3, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}}
{"cve": [{"lastseen": "2021-02-02T06:28:04", "description": "Cross-site scripting (XSS) vulnerability in the goToFinish1NF function in js/normalization.js in phpMyAdmin 4.4.x before 4.4.15.3 and 4.5.x before 4.5.4 allows remote authenticated users to inject arbitrary web script or HTML via a table name to the normalization page.", "edition": 4, "cvss3": {"exploitabilityScore": 2.3, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "CHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "LOW", "baseScore": 5.4, "privilegesRequired": "LOW", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N", "userInteraction": "REQUIRED", "version": "3.0"}, "impactScore": 2.7}, "published": "2016-02-20T01:59:00", "title": "CVE-2016-2043", "type": "cve", "cwe": ["CWE-79"], "bulletinFamily": "NVD", "cvss2": {"severity": "LOW", "exploitabilityScore": 6.8, "obtainAllPrivilege": false, "userInteractionRequired": true, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "MEDIUM", "confidentialityImpact": "NONE", "availabilityImpact": "NONE", "integrityImpact": "PARTIAL", "baseScore": 3.5, "vectorString": "AV:N/AC:M/Au:S/C:N/I:P/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "SINGLE"}, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2016-2043"], "modified": "2018-10-30T16:27:00", "cpe": ["cpe:/a:phpmyadmin:phpmyadmin:4.4.10", "cpe:/a:phpmyadmin:phpmyadmin:4.4.5", "cpe:/a:phpmyadmin:phpmyadmin:4.4.15.2", "cpe:/a:phpmyadmin:phpmyadmin:4.4.2", "cpe:/a:phpmyadmin:phpmyadmin:4.4.7", "cpe:/a:phpmyadmin:phpmyadmin:4.4.9", "cpe:/a:phpmyadmin:phpmyadmin:4.4.14.1", "cpe:/a:phpmyadmin:phpmyadmin:4.5.0.2", "cpe:/o:opensuse:opensuse:13.1", "cpe:/a:phpmyadmin:phpmyadmin:4.4.1", "cpe:/a:phpmyadmin:phpmyadmin:4.4.15", "cpe:/a:phpmyadmin:phpmyadmin:4.4.13", "cpe:/a:phpmyadmin:phpmyadmin:4.4.1.1", "cpe:/o:opensuse:opensuse:13.2", "cpe:/a:phpmyadmin:phpmyadmin:4.5.2", "cpe:/a:phpmyadmin:phpmyadmin:4.5.1", "cpe:/a:phpmyadmin:phpmyadmin:4.4.8", "cpe:/a:phpmyadmin:phpmyadmin:4.4.15.1", "cpe:/a:phpmyadmin:phpmyadmin:4.5.0", "cpe:/a:phpmyadmin:phpmyadmin:4.4.3", "cpe:/o:opensuse:leap:42.1", "cpe:/a:phpmyadmin:phpmyadmin:4.4.15.3", "cpe:/a:phpmyadmin:phpmyadmin:4.4.6", "cpe:/a:phpmyadmin:phpmyadmin:4.5.3", "cpe:/a:phpmyadmin:phpmyadmin:4.4.12", "cpe:/a:phpmyadmin:phpmyadmin:4.4.6.1", "cpe:/o:fedoraproject:fedora:22", "cpe:/a:phpmyadmin:phpmyadmin:4.5.0.1", "cpe:/a:phpmyadmin:phpmyadmin:4.4.4", "cpe:/o:fedoraproject:fedora:23", "cpe:/a:phpmyadmin:phpmyadmin:4.4.11", "cpe:/a:phpmyadmin:phpmyadmin:4.4.13.1"], "id": "CVE-2016-2043", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-2043", "cvss": {"score": 3.5, "vector": "AV:N/AC:M/Au:S/C:N/I:P/A:N"}, "cpe23": ["cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.7:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.5:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.12:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.11:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.6.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.15.1:*:*:*:*:*:*:*", "cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.8:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.4:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.3:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.15.2:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.6:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.3:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.15:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.10:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.13:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.1:*:*:*:*:*:*:*", "cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.13.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.14.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.9:*:*:*:*:*:*:*", "cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*", "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.2:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.15.3:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.2:*:*:*:*:*:*:*", "cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.1.1:*:*:*:*:*:*:*"]}, {"lastseen": "2021-02-02T06:28:04", "description": "phpMyAdmin 4.4.x before 4.4.15.3 and 4.5.x before 4.5.4 allows remote attackers to obtain sensitive information via a crafted request to (1) libraries/phpseclib/Crypt/AES.php or (2) libraries/phpseclib/Crypt/Rijndael.php, which reveals the full path in an error message.", "edition": 4, "cvss3": {"exploitabilityScore": 3.9, "cvssV3": {"baseSeverity": "MEDIUM", "confidentialityImpact": "LOW", "attackComplexity": "LOW", "scope": "UNCHANGED", "attackVector": "NETWORK", "availabilityImpact": "NONE", "integrityImpact": "NONE", "baseScore": 5.3, "privilegesRequired": "NONE", "vectorString": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N", "userInteraction": "NONE", "version": "3.0"}, "impactScore": 1.4}, "published": "2016-02-20T01:59:00", "title": "CVE-2016-2042", "type": "cve", "cwe": ["CWE-200"], "bulletinFamily": "NVD", "cvss2": {"severity": "MEDIUM", "exploitabilityScore": 10.0, "obtainAllPrivilege": false, "userInteractionRequired": false, "obtainOtherPrivilege": false, "cvssV2": {"accessComplexity": "LOW", "confidentialityImpact": "PARTIAL", "availabilityImpact": "NONE", "integrityImpact": "NONE", "baseScore": 5.0, "vectorString": "AV:N/AC:L/Au:N/C:P/I:N/A:N", "version": "2.0", "accessVector": "NETWORK", "authentication": "NONE"}, "impactScore": 2.9, "obtainUserPrivilege": false}, "cvelist": ["CVE-2016-2042"], "modified": "2018-10-30T16:27:00", "cpe": ["cpe:/a:phpmyadmin:phpmyadmin:4.4.10", "cpe:/a:phpmyadmin:phpmyadmin:4.4.5", "cpe:/a:phpmyadmin:phpmyadmin:4.4.15.2", "cpe:/a:phpmyadmin:phpmyadmin:4.4.2", "cpe:/a:phpmyadmin:phpmyadmin:4.4.7", "cpe:/a:phpmyadmin:phpmyadmin:4.4.9", "cpe:/a:phpmyadmin:phpmyadmin:4.4.14.1", "cpe:/a:phpmyadmin:phpmyadmin:4.5.0.2", "cpe:/o:opensuse:opensuse:13.1", "cpe:/a:phpmyadmin:phpmyadmin:4.4.1", "cpe:/a:phpmyadmin:phpmyadmin:4.4.15", "cpe:/a:phpmyadmin:phpmyadmin:4.4.13", "cpe:/a:phpmyadmin:phpmyadmin:4.4.1.1", "cpe:/o:opensuse:opensuse:13.2", "cpe:/a:phpmyadmin:phpmyadmin:4.5.2", "cpe:/a:phpmyadmin:phpmyadmin:4.5.1", "cpe:/a:phpmyadmin:phpmyadmin:4.4.8", "cpe:/a:phpmyadmin:phpmyadmin:4.4.15.1", "cpe:/a:phpmyadmin:phpmyadmin:4.5.0", "cpe:/a:phpmyadmin:phpmyadmin:4.4.3", "cpe:/o:opensuse:leap:42.1", "cpe:/a:phpmyadmin:phpmyadmin:4.4.15.3", "cpe:/a:phpmyadmin:phpmyadmin:4.4.6", "cpe:/a:phpmyadmin:phpmyadmin:4.5.3", "cpe:/a:phpmyadmin:phpmyadmin:4.4.12", "cpe:/a:phpmyadmin:phpmyadmin:4.4.6.1", "cpe:/o:fedoraproject:fedora:22", "cpe:/a:phpmyadmin:phpmyadmin:4.5.0.1", "cpe:/a:phpmyadmin:phpmyadmin:4.4.4", "cpe:/o:fedoraproject:fedora:23", "cpe:/a:phpmyadmin:phpmyadmin:4.4.11", "cpe:/a:phpmyadmin:phpmyadmin:4.4.13.1"], "id": "CVE-2016-2042", "href": "https://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2016-2042", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}, "cpe23": ["cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.7:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.5:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.12:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.11:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.6.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.15.1:*:*:*:*:*:*:*", "cpe:2.3:o:opensuse:opensuse:13.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.8:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.4:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.3:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.15.2:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.6:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0.2:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.3:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.0:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.15:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.10:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.13:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.1:*:*:*:*:*:*:*", "cpe:2.3:o:fedoraproject:fedora:23:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.13.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.14.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.9:*:*:*:*:*:*:*", "cpe:2.3:o:opensuse:opensuse:13.2:*:*:*:*:*:*:*", "cpe:2.3:o:fedoraproject:fedora:22:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.5.2:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.15.3:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.2:*:*:*:*:*:*:*", "cpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:*", "cpe:2.3:a:phpmyadmin:phpmyadmin:4.4.1.1:*:*:*:*:*:*:*"]}], "openvas": [{"lastseen": "2020-05-12T17:22:30", "bulletinFamily": "scanner", "cvelist": ["CVE-2016-2042", "CVE-2016-2043"], "description": "This host is installed with phpMyAdmin\n and is prone to multiple vulnerabilities.", "modified": "2020-05-08T00:00:00", "published": "2016-02-23T00:00:00", "id": "OPENVAS:1361412562310807079", "href": "http://plugins.openvas.org/nasl.php?oid=1361412562310807079", "type": "openvas", "title": "phpMyAdmin Multiple Vulnerabilities -03 Feb16", "sourceData": "###############################################################################\n# OpenVAS Vulnerability Test\n#\n# phpMyAdmin Multiple Vulnerabilities -03 Feb16\n#\n# Authors:\n# Rinu Kuriakose <krinu@secpod.com>\n#\n# Copyright:\n# Copyright (C) 2016 Greenbone Networks GmbH, http://www.greenbone.net\n#\n# This program is free software; you can redistribute it and/or modify\n# it under the terms of the GNU General Public License version 2\n# (or any later version), as published by the Free Software Foundation.\n#\n# This program is distributed in the hope that it will be useful,\n# but WITHOUT ANY WARRANTY; without even the implied warranty of\n# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\n# GNU General Public License for more details.\n#\n# You should have received a copy of the GNU General Public License\n# along with this program; if not, write to the Free Software\n# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.\n###############################################################################\n\nCPE = \"cpe:/a:phpmyadmin:phpmyadmin\";\n\nif(description)\n{\n script_oid(\"1.3.6.1.4.1.25623.1.0.807079\");\n script_version(\"2020-05-08T08:34:44+0000\");\n script_cve_id(\"CVE-2016-2042\", \"CVE-2016-2043\");\n script_bugtraq_id(82097, 82101);\n script_tag(name:\"cvss_base\", value:\"5.0\");\n script_tag(name:\"cvss_base_vector\", value:\"AV:N/AC:L/Au:N/C:P/I:N/A:N\");\n script_tag(name:\"last_modification\", value:\"2020-05-08 08:34:44 +0000 (Fri, 08 May 2020)\");\n script_tag(name:\"creation_date\", value:\"2016-02-23 10:17:05 +0530 (Tue, 23 Feb 2016)\");\n script_tag(name:\"qod_type\", value:\"remote_active\");\n script_name(\"phpMyAdmin Multiple Vulnerabilities -03 Feb16\");\n\n script_tag(name:\"summary\", value:\"This host is installed with phpMyAdmin\n and is prone to multiple vulnerabilities.\");\n\n script_tag(name:\"vuldetect\", value:\"Send a crafted request via HTTP GET and\n check whether it is able to obtain sensitive information or not.\");\n\n script_tag(name:\"insight\", value:\"Multiple flaws are due to:\n\n - recommended setting of the PHP configuration directive display_errors is\n set to on, which is against the recommendations given in the PHP manual\n for a production server.\n\n - Insufficient validation of user supplied input via a table name to the\n normalization page in the 'goToFinish1NF' function in\n 'js/normalization.js' script\");\n\n script_tag(name:\"impact\", value:\"Successful exploitation will allow remote\n attackers to obtain sensitive information about the server and to inject\n arbitrary web script or HTML.\");\n\n script_tag(name:\"affected\", value:\"phpMyAdmin versions 4.4.x prior to 4.4.15.3\n and 4.5.x prior to 4.5.4\");\n\n script_tag(name:\"solution\", value:\"Upgrade to phpMyAdmin version 4.4.15.3 or\n 4.5.4 or or later or apply patch from the link mentioned in reference.\");\n\n script_tag(name:\"solution_type\", value:\"VendorFix\");\n\n script_xref(name:\"URL\", value:\"https://www.phpmyadmin.net/security/PMASA-2016-6\");\n script_xref(name:\"URL\", value:\"https://www.phpmyadmin.net/security/PMASA-2016-7\");\n\n script_category(ACT_ATTACK);\n script_copyright(\"Copyright (C) 2016 Greenbone Networks GmbH\");\n script_family(\"Web application abuses\");\n script_dependencies(\"secpod_phpmyadmin_detect_900129.nasl\");\n script_mandatory_keys(\"phpMyAdmin/installed\");\n script_require_ports(\"Services/www\", 80);\n exit(0);\n}\n\n\ninclude(\"http_func.inc\");\ninclude(\"host_details.inc\");\ninclude(\"http_keepalive.inc\");\n\nif(!http_port = get_app_port(cpe:CPE)){\n exit(0);\n}\n\nif(!dir = get_app_location(cpe:CPE, port:http_port)){\n exit(0);\n}\n\nurl = dir + '/libraries/phpseclib/Crypt/AES.ph';\n\nif(http_vuln_check(port:http_port, url:url, check_header:TRUE,\n pattern:\"Fatal error.*Crypt/AES.php\"))\n{\n report = http_report_vuln_url( port:http_port, url:url );\n security_message(port:http_port, data:report);\n exit(0);\n}\n", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}], "freebsd": [{"lastseen": "2019-05-29T18:32:51", "bulletinFamily": "unix", "cvelist": ["CVE-2016-2043"], "description": "\nThe phpMyAdmin development team reports:\n\nWith a crafted table name it is possible to trigger an\n\t XSS attack in the database normalization page.\nWe consider this vulnerability to be non-critical.\nThis vulnerability can be triggered only by someone who is\n\t logged in to phpMyAdmin, as the usual token protection\n\t prevents non-logged-in users from accessing the required page.\n\n", "edition": 4, "modified": "2016-01-28T00:00:00", "published": "2016-01-28T00:00:00", "id": "7694927F-C60B-11E5-BF36-6805CA0B3D42", "href": "https://vuxml.freebsd.org/freebsd/7694927f-c60b-11e5-bf36-6805ca0b3d42.html", "title": "phpmyadmin -- XSS vulnerability in normalization page", "type": "freebsd", "cvss": {"score": 3.5, "vector": "AV:N/AC:M/Au:S/C:N/I:P/A:N"}}, {"lastseen": "2019-05-29T18:32:51", "bulletinFamily": "unix", "cvelist": ["CVE-2016-2042"], "description": "\nThe phpMyAdmin development team reports:\n\nBy calling some scripts that are part of phpMyAdmin in an\n\t unexpected way, it is possible to trigger phpMyAdmin to\n\t display a PHP error message which contains the full path of\n\t the directory where phpMyAdmin is installed.\nWe consider these vulnerabilities to be non-critical.\nThis path disclosure is possible on servers where the\n\t recommended setting of the PHP configuration directive\n\t display_errors is set to on, which is against the\n\t recommendations given in the PHP manual for a production\n\t server.\n\n", "edition": 4, "modified": "2016-01-28T00:00:00", "published": "2016-01-28T00:00:00", "id": "740BADCB-C60B-11E5-BF36-6805CA0B3D42", "href": "https://vuxml.freebsd.org/freebsd/740badcb-c60b-11e5-bf36-6805ca0b3d42.html", "title": "phpmyadmin -- Multiple full path disclosure vulnerabilities", "type": "freebsd", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}], "nessus": [{"lastseen": "2021-01-06T10:53:41", "description": "The phpMyAdmin development team reports :\n\nWith a crafted table name it is possible to trigger an XSS attack in\nthe database normalization page.\n\nWe consider this vulnerability to be non-critical.\n\nThis vulnerability can be triggered only by someone who is logged in\nto phpMyAdmin, as the usual token protection prevents non-logged-in\nusers from accessing the required page.", "edition": 25, "cvss3": {"score": 5.4, "vector": "AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N"}, "published": "2016-01-29T00:00:00", "title": "FreeBSD : phpmyadmin -- XSS vulnerability in normalization page (7694927f-c60b-11e5-bf36-6805ca0b3d42)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2016-2043"], "modified": "2016-01-29T00:00:00", "cpe": ["cpe:/o:freebsd:freebsd", "p-cpe:/a:freebsd:freebsd:phpmyadmin"], "id": "FREEBSD_PKG_7694927FC60B11E5BF366805CA0B3D42.NASL", "href": "https://www.tenable.com/plugins/nessus/88473", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from the FreeBSD VuXML database :\n#\n# Copyright 2003-2018 Jacques Vidrine and contributors\n#\n# Redistribution and use in source (VuXML) and 'compiled' forms (SGML,\n# HTML, PDF, PostScript, RTF and so forth) with or without modification,\n# are permitted provided that the following conditions are met:\n# 1. Redistributions of source code (VuXML) must retain the above\n# copyright notice, this list of conditions and the following\n# disclaimer as the first lines of this file unmodified.\n# 2. Redistributions in compiled form (transformed to other DTDs,\n# published online in any format, converted to PDF, PostScript,\n# RTF and other formats) must reproduce the above copyright\n# notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n# \n# THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS\n# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,\n# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(88473);\n script_version(\"2.5\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/04\");\n\n script_cve_id(\"CVE-2016-2043\");\n\n script_name(english:\"FreeBSD : phpmyadmin -- XSS vulnerability in normalization page (7694927f-c60b-11e5-bf36-6805ca0b3d42)\");\n script_summary(english:\"Checks for updated package in pkg_info output\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote FreeBSD host is missing a security-related update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"The phpMyAdmin development team reports :\n\nWith a crafted table name it is possible to trigger an XSS attack in\nthe database normalization page.\n\nWe consider this vulnerability to be non-critical.\n\nThis vulnerability can be triggered only by someone who is logged in\nto phpMyAdmin, as the usual token protection prevents non-logged-in\nusers from accessing the required page.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://www.phpmyadmin.net/security/PMASA-2016-7/\"\n );\n # https://vuxml.freebsd.org/freebsd/7694927f-c60b-11e5-bf36-6805ca0b3d42.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?d7f12af1\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected package.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:M/Au:S/C:N/I:P/A:N\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:C/C:L/I:L/A:N\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:phpmyadmin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:freebsd:freebsd\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2016/01/28\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2016/01/28\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2016/01/29\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2016-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"FreeBSD Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/FreeBSD/release\", \"Host/FreeBSD/pkg_info\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"freebsd_package.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/FreeBSD/release\")) audit(AUDIT_OS_NOT, \"FreeBSD\");\nif (!get_kb_item(\"Host/FreeBSD/pkg_info\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\nflag = 0;\n\nif (pkg_test(save_report:TRUE, pkg:\"phpmyadmin>=4.5.0<4.5.4\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_note(port:0, extra:pkg_report_get());\n else security_note(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 3.5, "vector": "AV:N/AC:M/Au:S/C:N/I:P/A:N"}}, {"lastseen": "2021-01-06T10:53:34", "description": "The phpMyAdmin development team reports :\n\nBy calling some scripts that are part of phpMyAdmin in an unexpected\nway, it is possible to trigger phpMyAdmin to display a PHP error\nmessage which contains the full path of the directory where phpMyAdmin\nis installed.\n\nWe consider these vulnerabilities to be non-critical.\n\nThis path disclosure is possible on servers where the recommended\nsetting of the PHP configuration directive display_errors is set to\non, which is against the recommendations given in the PHP manual for a\nproduction server.", "edition": 25, "cvss3": {"score": 5.3, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}, "published": "2016-01-29T00:00:00", "title": "FreeBSD : phpmyadmin -- Multiple full path disclosure vulnerabilities (740badcb-c60b-11e5-bf36-6805ca0b3d42)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2016-2042"], "modified": "2016-01-29T00:00:00", "cpe": ["cpe:/o:freebsd:freebsd", "p-cpe:/a:freebsd:freebsd:phpmyadmin"], "id": "FREEBSD_PKG_740BADCBC60B11E5BF366805CA0B3D42.NASL", "href": "https://www.tenable.com/plugins/nessus/88472", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from the FreeBSD VuXML database :\n#\n# Copyright 2003-2018 Jacques Vidrine and contributors\n#\n# Redistribution and use in source (VuXML) and 'compiled' forms (SGML,\n# HTML, PDF, PostScript, RTF and so forth) with or without modification,\n# are permitted provided that the following conditions are met:\n# 1. Redistributions of source code (VuXML) must retain the above\n# copyright notice, this list of conditions and the following\n# disclaimer as the first lines of this file unmodified.\n# 2. Redistributions in compiled form (transformed to other DTDs,\n# published online in any format, converted to PDF, PostScript,\n# RTF and other formats) must reproduce the above copyright\n# notice, this list of conditions and the following disclaimer\n# in the documentation and/or other materials provided with the\n# distribution.\n# \n# THIS DOCUMENTATION IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS \"AS IS\"\n# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,\n# THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR\n# PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS\n# BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,\n# OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT\n# OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR\n# BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,\n# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\n# OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS DOCUMENTATION,\n# EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(88472);\n script_version(\"2.5\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/04\");\n\n script_cve_id(\"CVE-2016-2042\");\n\n script_name(english:\"FreeBSD : phpmyadmin -- Multiple full path disclosure vulnerabilities (740badcb-c60b-11e5-bf36-6805ca0b3d42)\");\n script_summary(english:\"Checks for updated package in pkg_info output\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote FreeBSD host is missing a security-related update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"The phpMyAdmin development team reports :\n\nBy calling some scripts that are part of phpMyAdmin in an unexpected\nway, it is possible to trigger phpMyAdmin to display a PHP error\nmessage which contains the full path of the directory where phpMyAdmin\nis installed.\n\nWe consider these vulnerabilities to be non-critical.\n\nThis path disclosure is possible on servers where the recommended\nsetting of the PHP configuration directive display_errors is set to\non, which is against the recommendations given in the PHP manual for a\nproduction server.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://www.phpmyadmin.net/security/PMASA-2016-6/\"\n );\n # https://vuxml.freebsd.org/freebsd/740badcb-c60b-11e5-bf36-6805ca0b3d42.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?eb32070d\"\n );\n script_set_attribute(attribute:\"solution\", value:\"Update the affected package.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:freebsd:freebsd:phpmyadmin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:freebsd:freebsd\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2016/01/28\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2016/01/28\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2016/01/29\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2016-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"FreeBSD Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/FreeBSD/release\", \"Host/FreeBSD/pkg_info\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"freebsd_package.inc\");\n\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nif (!get_kb_item(\"Host/FreeBSD/release\")) audit(AUDIT_OS_NOT, \"FreeBSD\");\nif (!get_kb_item(\"Host/FreeBSD/pkg_info\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\nflag = 0;\n\nif (pkg_test(save_report:TRUE, pkg:\"phpmyadmin>=4.5.0<4.5.4\")) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:pkg_report_get());\n else security_warning(0);\n exit(0);\n}\nelse audit(AUDIT_HOST_NOT, \"affected\");\n", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}, {"lastseen": "2021-01-20T12:29:51", "description": "This update to phpMyAdmin 4.4.15.4 fixes the following issues\n(boo#964024)\n\n - CVE-2016-2038: Multiple full path disclosure\n vulnerabilities\n\n - CVE-2016-2039: Unsafe generation of XSRF/CSRF token\n\n - CVE-2016-2040: Multiple XSS vulnerabilities\n\n - CVE-2016-1927: Insecure password generation in\n JavaScript\n\n - CVE-2016-2041: Unsafe comparison of XSRF/CSRF token\n\n - CVE-2016-2042: Multiple full path disclosure\n vulnerabilities\n\n - CVE-2016-2043: XSS vulnerability in normalization page", "edition": 18, "cvss3": {"score": 7.5, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}, "published": "2016-02-08T00:00:00", "title": "openSUSE Security Update : phpMyAdmin (openSUSE-2016-151)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2016-2040", "CVE-2016-2042", "CVE-2016-2038", "CVE-2016-2043", "CVE-2016-1927", "CVE-2016-2039", "CVE-2016-2041"], "modified": "2016-02-08T00:00:00", "cpe": ["cpe:/o:novell:opensuse:42.1", "cpe:/o:novell:opensuse:13.2", "p-cpe:/a:novell:opensuse:phpMyAdmin"], "id": "OPENSUSE-2016-151.NASL", "href": "https://www.tenable.com/plugins/nessus/88607", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were\n# extracted from openSUSE Security Update openSUSE-2016-151.\n#\n# The text description of this plugin is (C) SUSE LLC.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(88607);\n script_version(\"2.5\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/19\");\n\n script_cve_id(\"CVE-2016-1927\", \"CVE-2016-2038\", \"CVE-2016-2039\", \"CVE-2016-2040\", \"CVE-2016-2041\", \"CVE-2016-2042\", \"CVE-2016-2043\");\n\n script_name(english:\"openSUSE Security Update : phpMyAdmin (openSUSE-2016-151)\");\n script_summary(english:\"Check for the openSUSE-2016-151 patch\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote openSUSE host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"This update to phpMyAdmin 4.4.15.4 fixes the following issues\n(boo#964024)\n\n - CVE-2016-2038: Multiple full path disclosure\n vulnerabilities\n\n - CVE-2016-2039: Unsafe generation of XSRF/CSRF token\n\n - CVE-2016-2040: Multiple XSS vulnerabilities\n\n - CVE-2016-1927: Insecure password generation in\n JavaScript\n\n - CVE-2016-2041: Unsafe comparison of XSRF/CSRF token\n\n - CVE-2016-2042: Multiple full path disclosure\n vulnerabilities\n\n - CVE-2016-2043: XSS vulnerability in normalization page\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=964024\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected phpMyAdmin package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:phpMyAdmin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:novell:opensuse:13.2\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:novell:opensuse:42.1\");\n\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2016/02/07\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2016/02/08\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2016-2021 Tenable Network Security, Inc.\");\n script_family(english:\"SuSE Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/SuSE/release\", \"Host/SuSE/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/SuSE/release\");\nif (isnull(release) || release =~ \"^(SLED|SLES)\") audit(AUDIT_OS_NOT, \"openSUSE\");\nif (release !~ \"^(SUSE13\\.2|SUSE42\\.1)$\") audit(AUDIT_OS_RELEASE_NOT, \"openSUSE\", \"13.2 / 42.1\", release);\nif (!get_kb_item(\"Host/SuSE/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\n\nflag = 0;\n\nif ( rpm_check(release:\"SUSE13.2\", reference:\"phpMyAdmin-4.4.15.4-27.1\") ) flag++;\nif ( rpm_check(release:\"SUSE42.1\", reference:\"phpMyAdmin-4.4.15.4-13.1\") ) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());\n else security_warning(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"phpMyAdmin\");\n}\n", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}, {"lastseen": "2021-01-20T12:29:56", "description": "Security update to phpMyAdmin 4.4.15.4\n\nThe followinng vulnerabilities were fixed: (boo#964024)\n\n - CVE-2016-2038: Multiple full path disclosure\n vulnerabilities\n\n - CVE-2016-2039: Unsafe generation of XSRF/CSRF token\n\n - CVE-2016-2040: Multiple XSS vulnerabilities\n\n - CVE-2016-1927: Insecure password generation in\n JavaScript\n\n - CVE-2016-2041: Unsafe comparison of XSRF/CSRF token\n\n - CVE-2016-2042: Multiple full path disclosure\n vulnerabilities\n\n - CVE-2016-2043: XSS vulnerability in normalization page", "edition": 18, "cvss3": {"score": 7.5, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}, "published": "2016-02-09T00:00:00", "title": "openSUSE Security Update : phpMyAdmin 4.4.15.4 (openSUSE-2016-168)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2016-2040", "CVE-2016-2042", "CVE-2016-2038", "CVE-2016-2043", "CVE-2016-1927", "CVE-2016-2039", "CVE-2016-2041"], "modified": "2016-02-09T00:00:00", "cpe": ["cpe:/o:novell:opensuse:13.1", "p-cpe:/a:novell:opensuse:phpMyAdmin"], "id": "OPENSUSE-2016-168.NASL", "href": "https://www.tenable.com/plugins/nessus/88632", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were\n# extracted from openSUSE Security Update openSUSE-2016-168.\n#\n# The text description of this plugin is (C) SUSE LLC.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(88632);\n script_version(\"2.6\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/19\");\n\n script_cve_id(\"CVE-2016-1927\", \"CVE-2016-2038\", \"CVE-2016-2039\", \"CVE-2016-2040\", \"CVE-2016-2041\", \"CVE-2016-2042\", \"CVE-2016-2043\");\n\n script_name(english:\"openSUSE Security Update : phpMyAdmin 4.4.15.4 (openSUSE-2016-168)\");\n script_summary(english:\"Check for the openSUSE-2016-168 patch\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote openSUSE host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"Security update to phpMyAdmin 4.4.15.4\n\nThe followinng vulnerabilities were fixed: (boo#964024)\n\n - CVE-2016-2038: Multiple full path disclosure\n vulnerabilities\n\n - CVE-2016-2039: Unsafe generation of XSRF/CSRF token\n\n - CVE-2016-2040: Multiple XSS vulnerabilities\n\n - CVE-2016-1927: Insecure password generation in\n JavaScript\n\n - CVE-2016-2041: Unsafe comparison of XSRF/CSRF token\n\n - CVE-2016-2042: Multiple full path disclosure\n vulnerabilities\n\n - CVE-2016-2043: XSS vulnerability in normalization page\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.opensuse.org/show_bug.cgi?id=964024\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected phpMyAdmin 4.4.15.4 package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:novell:opensuse:phpMyAdmin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:novell:opensuse:13.1\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2016/02/20\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2016/02/08\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2016/02/09\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2016-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"SuSE Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/SuSE/release\", \"Host/SuSE/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/SuSE/release\");\nif (isnull(release) || release =~ \"^(SLED|SLES)\") audit(AUDIT_OS_NOT, \"openSUSE\");\nif (release !~ \"^(SUSE13\\.1)$\") audit(AUDIT_OS_RELEASE_NOT, \"openSUSE\", \"13.1\", release);\nif (!get_kb_item(\"Host/SuSE/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\n\n\nflag = 0;\n\nif ( rpm_check(release:\"SUSE13.1\", reference:\"phpMyAdmin-4.4.15.4-46.1\") ) flag++;\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());\n else security_warning(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"phpMyAdmin\");\n}\n", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}, {"lastseen": "2021-01-12T10:14:56", "description": "phpMyAdmin 4.5.4.1 (2016-01-28) =============================== -\nError with PMA 4.4.15.3 - Remove hard dependency on phpseclib\nphpMyAdmin 4.5.4 (2016-01-28) ============================= - live\ndata edit of big sets is not working - Table list not saved in db QBE\nbookmarked search - While 'changing a column', query fails with a\nsyntax error after the 'CHARSET=' keyword - Avoid syntax error in\nJavaScript messages on invalid PHP setting for max_input_vars -\nProperly handle errors in upacking zip archive - Set PHP's internal\nencoding to UTF-8 - Fixed Kanji encoding in some specific cases -\nCheck whether iconv works before using it - Avoid conversion of MySQL\nerror messages - Undefined index: parameters - Undefined index:\nfield_name_orig - Undefined index: host - 'Add to central columns'\n(per column button) does nothing - SQL duplicate entry error trying to\nINSERT in designer_settings table - Fix handling of databases with dot\nin a name - Fix hiding of page content behind menu - FROM clause not\ngenerated after loading search bookmark - Fix creating/editing VIEW\nwith DEFINER containing special chars - Do not invoke FLUSH PRIVILEGES\nwhen server in --skip- grant-tables - Misleading message for\nconfiguration storage - Table pagination does nothing when session\nexpired - Index comments not working properly - Better handle local\nstorage errors - Improve detection of privileges for privilege\nadjusting - Undefined property: stdClass::$releases at version check\nwhen disabled in config - SQL comment and variable stripped from\nbookmark on save - Gracefully handle errors in regex based JavaScript\nsearch - [Security] Multiple full path disclosure vulnerabilities, see\nPMASA-2016-1 - [Security] Unsafe generation of CSRF token, see\nPMASA-2016-2 - [Security] Multiple XSS vulnerabilities, see\nPMASA-2016-3 - [Security] Insecure password generation in JavaScript,\nsee PMASA-2016-4 - [Security] Unsafe comparison of CSRF token, see\nPMASA-2016-5 - [Security] Multiple full path disclosure\nvulnerabilities, see PMASA-2016-6 - [Security] XSS vulnerability in\nnormalization page, see PMASA-2016-7 - [Security] Full path disclosure\nvulnerability in SQL parser, see PMASA-2016-8 - [Security] XSS\nvulnerability in SQL editor, see PMASA-2016-9\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "edition": 19, "cvss3": {"score": 7.5, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}, "published": "2016-03-04T00:00:00", "title": "Fedora 23 : phpMyAdmin-4.5.4.1-1.fc23 (2016-e55278763e)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2016-2040", "CVE-2016-2042", "CVE-2016-2038", "CVE-2016-2044", "CVE-2016-2043", "CVE-2016-1927", "CVE-2016-2039", "CVE-2016-2041", "CVE-2016-2045"], "modified": "2016-03-04T00:00:00", "cpe": ["cpe:/o:fedoraproject:fedora:23", "p-cpe:/a:fedoraproject:fedora:phpMyAdmin"], "id": "FEDORA_2016-E55278763E.NASL", "href": "https://www.tenable.com/plugins/nessus/89630", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Fedora Security Advisory 2016-e55278763e.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(89630);\n script_version(\"1.6\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/11\");\n\n script_cve_id(\"CVE-2016-1927\", \"CVE-2016-2038\", \"CVE-2016-2039\", \"CVE-2016-2040\", \"CVE-2016-2041\", \"CVE-2016-2042\", \"CVE-2016-2043\", \"CVE-2016-2044\", \"CVE-2016-2045\");\n script_xref(name:\"FEDORA\", value:\"2016-e55278763e\");\n\n script_name(english:\"Fedora 23 : phpMyAdmin-4.5.4.1-1.fc23 (2016-e55278763e)\");\n script_summary(english:\"Checks rpm output for the updated package.\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Fedora host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"phpMyAdmin 4.5.4.1 (2016-01-28) =============================== -\nError with PMA 4.4.15.3 - Remove hard dependency on phpseclib\nphpMyAdmin 4.5.4 (2016-01-28) ============================= - live\ndata edit of big sets is not working - Table list not saved in db QBE\nbookmarked search - While 'changing a column', query fails with a\nsyntax error after the 'CHARSET=' keyword - Avoid syntax error in\nJavaScript messages on invalid PHP setting for max_input_vars -\nProperly handle errors in upacking zip archive - Set PHP's internal\nencoding to UTF-8 - Fixed Kanji encoding in some specific cases -\nCheck whether iconv works before using it - Avoid conversion of MySQL\nerror messages - Undefined index: parameters - Undefined index:\nfield_name_orig - Undefined index: host - 'Add to central columns'\n(per column button) does nothing - SQL duplicate entry error trying to\nINSERT in designer_settings table - Fix handling of databases with dot\nin a name - Fix hiding of page content behind menu - FROM clause not\ngenerated after loading search bookmark - Fix creating/editing VIEW\nwith DEFINER containing special chars - Do not invoke FLUSH PRIVILEGES\nwhen server in --skip- grant-tables - Misleading message for\nconfiguration storage - Table pagination does nothing when session\nexpired - Index comments not working properly - Better handle local\nstorage errors - Improve detection of privileges for privilege\nadjusting - Undefined property: stdClass::$releases at version check\nwhen disabled in config - SQL comment and variable stripped from\nbookmark on save - Gracefully handle errors in regex based JavaScript\nsearch - [Security] Multiple full path disclosure vulnerabilities, see\nPMASA-2016-1 - [Security] Unsafe generation of CSRF token, see\nPMASA-2016-2 - [Security] Multiple XSS vulnerabilities, see\nPMASA-2016-3 - [Security] Insecure password generation in JavaScript,\nsee PMASA-2016-4 - [Security] Unsafe comparison of CSRF token, see\nPMASA-2016-5 - [Security] Multiple full path disclosure\nvulnerabilities, see PMASA-2016-6 - [Security] XSS vulnerability in\nnormalization page, see PMASA-2016-7 - [Security] Full path disclosure\nvulnerability in SQL parser, see PMASA-2016-8 - [Security] XSS\nvulnerability in SQL editor, see PMASA-2016-9\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302676\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302677\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302679\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302680\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302681\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302682\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302684\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302685\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302686\"\n );\n # https://lists.fedoraproject.org/pipermail/package-announce/2016-February/176739.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?849850b3\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected phpMyAdmin package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:phpMyAdmin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:fedoraproject:fedora:23\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2016/02/20\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2016/02/03\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2016/03/04\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2016-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Fedora Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || \"Fedora\" >!< release) audit(AUDIT_OS_NOT, \"Fedora\");\nos_ver = eregmatch(pattern: \"Fedora.*release ([0-9]+)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Fedora\");\nos_ver = os_ver[1];\nif (! ereg(pattern:\"^23([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Fedora 23.x\", \"Fedora \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Fedora\", cpu);\n\nflag = 0;\nif (rpm_check(release:\"FC23\", reference:\"phpMyAdmin-4.5.4.1-1.fc23\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());\n else security_warning(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"phpMyAdmin\");\n}\n", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}, {"lastseen": "2021-01-12T10:14:54", "description": "phpMyAdmin 4.5.4 (2016-01-28) ============================= - live\ndata edit of big sets is not working - Table list not saved in db QBE\nbookmarked search - While 'changing a column', query fails with a\nsyntax error after the 'CHARSET=' keyword - Avoid syntax error in\nJavaScript messages on invalid PHP setting for max_input_vars -\nProperly handle errors in upacking zip archive - Set PHP's internal\nencoding to UTF-8 - Fixed Kanji encoding in some specific cases -\nCheck whether iconv works before using it - Avoid conversion of MySQL\nerror messages - Undefined index: parameters - Undefined index:\nfield_name_orig - Undefined index: host - 'Add to central columns'\n(per column button) does nothing - SQL duplicate entry error trying to\nINSERT in designer_settings table - Fix handling of databases with dot\nin a name - Fix hiding of page content behind menu - FROM clause not\ngenerated after loading search bookmark - Fix creating/editing VIEW\nwith DEFINER containing special chars - Do not invoke FLUSH PRIVILEGES\nwhen server in --skip-grant-tables - Misleading message for\nconfiguration storage - Table pagination does nothing when session\nexpired - Index comments not working properly - Better handle local\nstorage errors - Improve detection of privileges for privilege\nadjusting - Undefined property: stdClass::$releases at version check\nwhen disabled in config - SQL comment and variable stripped from\nbookmark on save - Gracefully handle errors in regex based JavaScript\nsearch - [Security] Multiple full path disclosure vulnerabilities, see\nPMASA-2016-1 - [Security] Unsafe generation of CSRF token, see\nPMASA-2016-2 - [Security] Multiple XSS vulnerabilities, see\nPMASA-2016-3 - [Security] Insecure password generation in JavaScript,\nsee PMASA-2016-4 - [Security] Unsafe comparison of CSRF token, see\nPMASA-2016-5 - [Security] Multiple full path disclosure\nvulnerabilities, see PMASA-2016-6 - [Security] XSS vulnerability in\nnormalization page, see PMASA-2016-7 - [Security] Full path disclosure\nvulnerability in SQL parser, see PMASA-2016-8 - [Security] XSS\nvulnerability in SQL editor, see PMASA-2016-9\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.", "edition": 19, "cvss3": {"score": 7.5, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"}, "published": "2016-03-04T00:00:00", "title": "Fedora 22 : phpMyAdmin-4.5.4-1.fc22 (2016-e1fe01e96e)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2016-2040", "CVE-2016-2042", "CVE-2016-2038", "CVE-2016-2044", "CVE-2016-2043", "CVE-2016-1927", "CVE-2016-2039", "CVE-2016-2041", "CVE-2016-2045"], "modified": "2016-03-04T00:00:00", "cpe": ["cpe:/o:fedoraproject:fedora:22", "p-cpe:/a:fedoraproject:fedora:phpMyAdmin"], "id": "FEDORA_2016-E1FE01E96E.NASL", "href": "https://www.tenable.com/plugins/nessus/89625", "sourceData": "#%NASL_MIN_LEVEL 70300\n#\n# (C) Tenable Network Security, Inc.\n#\n# The descriptive text and package checks in this plugin were \n# extracted from Fedora Security Advisory 2016-e1fe01e96e.\n#\n\ninclude('deprecated_nasl_level.inc');\ninclude('compat.inc');\n\nif (description)\n{\n script_id(89625);\n script_version(\"1.6\");\n script_set_attribute(attribute:\"plugin_modification_date\", value:\"2021/01/11\");\n\n script_cve_id(\"CVE-2016-1927\", \"CVE-2016-2038\", \"CVE-2016-2039\", \"CVE-2016-2040\", \"CVE-2016-2041\", \"CVE-2016-2042\", \"CVE-2016-2043\", \"CVE-2016-2044\", \"CVE-2016-2045\");\n script_xref(name:\"FEDORA\", value:\"2016-e1fe01e96e\");\n\n script_name(english:\"Fedora 22 : phpMyAdmin-4.5.4-1.fc22 (2016-e1fe01e96e)\");\n script_summary(english:\"Checks rpm output for the updated package.\");\n\n script_set_attribute(\n attribute:\"synopsis\", \n value:\"The remote Fedora host is missing a security update.\"\n );\n script_set_attribute(\n attribute:\"description\", \n value:\n\"phpMyAdmin 4.5.4 (2016-01-28) ============================= - live\ndata edit of big sets is not working - Table list not saved in db QBE\nbookmarked search - While 'changing a column', query fails with a\nsyntax error after the 'CHARSET=' keyword - Avoid syntax error in\nJavaScript messages on invalid PHP setting for max_input_vars -\nProperly handle errors in upacking zip archive - Set PHP's internal\nencoding to UTF-8 - Fixed Kanji encoding in some specific cases -\nCheck whether iconv works before using it - Avoid conversion of MySQL\nerror messages - Undefined index: parameters - Undefined index:\nfield_name_orig - Undefined index: host - 'Add to central columns'\n(per column button) does nothing - SQL duplicate entry error trying to\nINSERT in designer_settings table - Fix handling of databases with dot\nin a name - Fix hiding of page content behind menu - FROM clause not\ngenerated after loading search bookmark - Fix creating/editing VIEW\nwith DEFINER containing special chars - Do not invoke FLUSH PRIVILEGES\nwhen server in --skip-grant-tables - Misleading message for\nconfiguration storage - Table pagination does nothing when session\nexpired - Index comments not working properly - Better handle local\nstorage errors - Improve detection of privileges for privilege\nadjusting - Undefined property: stdClass::$releases at version check\nwhen disabled in config - SQL comment and variable stripped from\nbookmark on save - Gracefully handle errors in regex based JavaScript\nsearch - [Security] Multiple full path disclosure vulnerabilities, see\nPMASA-2016-1 - [Security] Unsafe generation of CSRF token, see\nPMASA-2016-2 - [Security] Multiple XSS vulnerabilities, see\nPMASA-2016-3 - [Security] Insecure password generation in JavaScript,\nsee PMASA-2016-4 - [Security] Unsafe comparison of CSRF token, see\nPMASA-2016-5 - [Security] Multiple full path disclosure\nvulnerabilities, see PMASA-2016-6 - [Security] XSS vulnerability in\nnormalization page, see PMASA-2016-7 - [Security] Full path disclosure\nvulnerability in SQL parser, see PMASA-2016-8 - [Security] XSS\nvulnerability in SQL editor, see PMASA-2016-9\n\nNote that Tenable Network Security has extracted the preceding\ndescription block directly from the Fedora security advisory. Tenable\nhas attempted to automatically clean and format it as much as possible\nwithout introducing additional issues.\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302676\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302677\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302679\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302680\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302681\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302682\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302684\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302685\"\n );\n script_set_attribute(\n attribute:\"see_also\",\n value:\"https://bugzilla.redhat.com/show_bug.cgi?id=1302686\"\n );\n # https://lists.fedoraproject.org/pipermail/package-announce/2016-February/176483.html\n script_set_attribute(\n attribute:\"see_also\",\n value:\"http://www.nessus.org/u?f479b586\"\n );\n script_set_attribute(\n attribute:\"solution\", \n value:\"Update the affected phpMyAdmin package.\"\n );\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"local\");\n script_set_attribute(attribute:\"cpe\", value:\"p-cpe:/a:fedoraproject:fedora:phpMyAdmin\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/o:fedoraproject:fedora:22\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2016/02/20\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2016/02/01\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2016/03/04\");\n script_set_attribute(attribute:\"generated_plugin\", value:\"current\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_copyright(english:\"This script is Copyright (C) 2016-2021 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n script_family(english:\"Fedora Local Security Checks\");\n\n script_dependencies(\"ssh_get_info.nasl\");\n script_require_keys(\"Host/local_checks_enabled\", \"Host/RedHat/release\", \"Host/RedHat/rpm-list\");\n\n exit(0);\n}\n\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"rpm.inc\");\n\nif (!get_kb_item(\"Host/local_checks_enabled\")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED);\nrelease = get_kb_item(\"Host/RedHat/release\");\nif (isnull(release) || \"Fedora\" >!< release) audit(AUDIT_OS_NOT, \"Fedora\");\nos_ver = eregmatch(pattern: \"Fedora.*release ([0-9]+)\", string:release);\nif (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, \"Fedora\");\nos_ver = os_ver[1];\nif (! ereg(pattern:\"^22([^0-9]|$)\", string:os_ver)) audit(AUDIT_OS_NOT, \"Fedora 22.x\", \"Fedora \" + os_ver);\n\nif (!get_kb_item(\"Host/RedHat/rpm-list\")) audit(AUDIT_PACKAGE_LIST_MISSING);\n\ncpu = get_kb_item(\"Host/cpu\");\nif (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH);\nif (\"x86_64\" >!< cpu && cpu !~ \"^i[3-6]86$\") audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, \"Fedora\", cpu);\n\nflag = 0;\nif (rpm_check(release:\"FC22\", reference:\"phpMyAdmin-4.5.4-1.fc22\")) flag++;\n\n\nif (flag)\n{\n if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get());\n else security_warning(0);\n exit(0);\n}\nelse\n{\n tested = pkg_tests_get();\n if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested);\n else audit(AUDIT_PACKAGE_NOT_INSTALLED, \"phpMyAdmin\");\n}\n", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}, {"lastseen": "2021-02-01T05:20:21", "description": "The phpMyAdmin application hosted on the remote web server is affected\nby multiple path disclosure vulnerabilities in multiple scripts. An\nunauthenticated, remote attacker can exploit these vulnerabilities,\nvia a specially crafted request, to disclose the full path of the\ndirectory where phpMyAdmin is installed.\n\nNote that phpMyAdmin is also reportedly affected by multiple\ncross-site scripting and cross-site request forgery vulnerabilities;\nhowever, Nessus has not tested for these.", "edition": 26, "cvss3": {"score": 5.3, "vector": "AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N"}, "published": "2016-04-12T00:00:00", "title": "phpMyAdmin Multiple Path Disclosure Vulnerabilities (PMASA-2016-1, PMASA-2016-6, PMASA-2016-8)", "type": "nessus", "bulletinFamily": "scanner", "cvelist": ["CVE-2016-2042", "CVE-2016-2038", "CVE-2016-2044"], "modified": "2021-02-02T00:00:00", "cpe": ["cpe:/a:phpmyadmin:phpmyadmin"], "id": "PHPMYADMIN_PMASA_2016_PATH_DISCLOSURE.NASL", "href": "https://www.tenable.com/plugins/nessus/90428", "sourceData": "#\n# (C) Tenable Network Security, Inc.\n#\n\ninclude(\"compat.inc\");\n\nif (description)\n{\n script_id(90428);\n script_version(\"1.5\");\n script_cvs_date(\"Date: 2019/11/20\");\n\n script_cve_id(\"CVE-2016-2038\", \"CVE-2016-2042\", \"CVE-2016-2044\");\n script_bugtraq_id(82075, 82097, 82104);\n\n script_name(english:\"phpMyAdmin Multiple Path Disclosure Vulnerabilities (PMASA-2016-1, PMASA-2016-6, PMASA-2016-8)\");\n script_summary(english:\"Tests for path disclosure.\");\n\n script_set_attribute(attribute:\"synopsis\", value:\n\"The remote web server hosts a PHP application that is affected by\nmultiple path disclosure vulnerabilities.\");\n script_set_attribute(attribute:\"description\", value:\n\"The phpMyAdmin application hosted on the remote web server is affected\nby multiple path disclosure vulnerabilities in multiple scripts. An\nunauthenticated, remote attacker can exploit these vulnerabilities,\nvia a specially crafted request, to disclose the full path of the\ndirectory where phpMyAdmin is installed.\n\nNote that phpMyAdmin is also reportedly affected by multiple\ncross-site scripting and cross-site request forgery vulnerabilities;\nhowever, Nessus has not tested for these.\");\n script_set_attribute(attribute:\"see_also\", value:\"https://www.phpmyadmin.net/security/PMASA-2016-1/\");\n script_set_attribute(attribute:\"see_also\", value:\"https://www.phpmyadmin.net/security/PMASA-2016-6/\");\n script_set_attribute(attribute:\"see_also\", value:\"https://www.phpmyadmin.net/security/PMASA-2016-8/\");\n script_set_attribute(attribute:\"solution\", value:\n\"Upgrade to phpMyAdmin version 4.0.10.13 / 4.4.15.3 / 4.5.4 or later.\nAlternatively, apply the patch referenced in the vendor advisory.\");\n script_set_cvss_base_vector(\"CVSS2#AV:N/AC:L/Au:N/C:P/I:N/A:N\");\n script_set_cvss_temporal_vector(\"CVSS2#E:POC/RL:OF/RC:C\");\n script_set_cvss3_base_vector(\"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N\");\n script_set_cvss3_temporal_vector(\"CVSS:3.0/E:P/RL:O/RC:C\");\n script_set_attribute(attribute:\"cvss_score_source\", value:\"CVE-2016-2044\");\n\n script_set_attribute(attribute:\"exploitability_ease\", value:\"No exploit is required\");\n script_set_attribute(attribute:\"exploit_available\", value:\"false\");\n script_set_attribute(attribute:\"exploited_by_nessus\", value:\"true\");\n\n script_set_attribute(attribute:\"vuln_publication_date\", value:\"2016/01/23\");\n script_set_attribute(attribute:\"patch_publication_date\", value:\"2016/01/23\");\n script_set_attribute(attribute:\"plugin_publication_date\", value:\"2016/04/12\");\n\n script_set_attribute(attribute:\"plugin_type\", value:\"remote\");\n script_set_attribute(attribute:\"cpe\", value:\"cpe:/a:phpmyadmin:phpmyadmin\");\n script_end_attributes();\n\n script_category(ACT_GATHER_INFO);\n script_family(english:\"CGI abuses\");\n\n script_copyright(english:\"This script is Copyright (C) 2016-2019 and is owned by Tenable, Inc. or an Affiliate thereof.\");\n\n script_dependencies(\"phpMyAdmin_detect.nasl\");\n script_require_keys(\"www/PHP\", \"installed_sw/phpMyAdmin\");\n script_require_ports(\"Services/www\", 80);\n\n exit(0);\n}\n\ninclude(\"audit.inc\");\ninclude(\"global_settings.inc\");\ninclude(\"misc_func.inc\");\ninclude(\"http.inc\");\ninclude(\"install_func.inc\");\n\nappname = \"phpMyAdmin\";\nget_install_count(app_name:appname, exit_if_zero:TRUE);\n\nport = get_http_port(default:80, php:TRUE);\n\ninstall = get_single_install(\n app_name : appname,\n port : port\n);\n\ndir = install['path'];\nurl = build_url(qs:dir, port:port);\nversion = install['version'];\n\nif (!empty_or_null(version) && verson =~ \"^4\\.(4|5)\")\n{\n if (version =~ \"^4\\.4\\.\")\n {\n files = make_array(\n \"/libraries/phpseclib/Crypt/Rijndael.php\", \"(Fatal error: Class '(.*)Base)\",\n \"/libraries/phpseclib/Crypt/AES.php\", \"(Fatal error: Class '(.*)Rijndael)\"\n );\n }\n if (version =~ \"^4\\.5\\.\")\n {\n files = make_array(\n \"/libraries/sql-parser/autoload.php\", \"(Fatal error</b>:(\\s)*Class '.*ClassLoader' not found)\"\n );\n }\n}\nelse\n files = make_array(\n \"/setup/lib/common.inc.php\", \"(Call to undefined function PMA_fatalError\\(\\))\",\n \"/libraries/phpseclib/Crypt/Rijndael.php\", \"(Fatal error: Class '(.*)Base)\",\n \"/libraries/phpseclib/Crypt/AES.php\", \"(Fatal error: Class '(.*)Rijndael)\",\n \"/libraries/sql-parser/autoload.php\", \"(Fatal error</b>:(\\s)*Class '.*ClassLoader' not found)\"\n );\n\nvuln = FALSE;\nforeach file (keys(files))\n{\n res = http_send_recv3(\n method : \"GET\",\n port : port,\n item : dir + file,\n exit_on_fail : TRUE\n );\n\n matches = eregmatch(\n pattern : files[file],\n string : res[2],\n icase : TRUE\n );\n if (!empty_or_null(matches))\n {\n vuln = TRUE;\n exploit = build_url(qs:dir + file, port:port);\n break;\n }\n}\nif (!vuln)\naudit(AUDIT_WEB_APP_NOT_AFFECTED, appname, url);\n\nsecurity_report_v4(\n port : port,\n severity : SECURITY_WARNING,\n generic : TRUE,\n request : make_list(exploit),\n output : chomp(res[2])\n);\nexit(0);\n", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}], "phpmyadmin": [{"lastseen": "2019-05-29T19:31:02", "bulletinFamily": "software", "cvelist": ["CVE-2016-2043"], "description": "## PMASA-2016-7\n\n**Announcement-ID:** PMASA-2016-7\n\n**Date:** 2016-01-24\n\n### Summary\n\nXSS vulnerability in normalization page.\n\n### Description\n\nWith a crafted table name it is possible to trigger an XSS attack in the database normalization page.\n\n### Severity\n\nWe consider this vulnerability to be non-critical.\n\n### Mitigation factor\n\nThis vulnerability can be triggered only by someone who is logged in to phpMyAdmin, as the usual token protection prevents non-logged-in users from accessing the required page.\n\n### Affected Versions\n\nVersions 4.4.x (prior to 4.4.15.3) and 4.5.x (prior to 4.5.4) are affected.\n\n### Solution\n\nUpgrade to phpMyAdmin 4.4.15.3 or newer, 4.5.4 or newer or apply patch listed below.\n\n### References\n\nThanks to Emanuel Bronshtein [@e3amn2l](<https://twitter.com/e3amn2l>) for reporting this vulnerability.\n\nAssigned CVE ids: [CVE-2016-2043](<https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2043>)\n\nCWE ids: [CWE-661](<https://cwe.mitre.org/data/definitions/661.html>) [CWE-79](<https://cwe.mitre.org/data/definitions/79.html>)\n\n### Patches\n\nThe following commits have been made on the 4.4 branch to fix this issue:\n\n * [8f86713de6163ccd0f8bd9987251a9d17feaee18](<https://github.com/phpmyadmin/phpmyadmin/commit/8f86713de6163ccd0f8bd9987251a9d17feaee18>)\n\nThe following commits have been made on the 4.5 branch to fix this issue:\n\n * [019c4f25d500ec5db9ba3b84cc961a7e4e850738](<https://github.com/phpmyadmin/phpmyadmin/commit/019c4f25d500ec5db9ba3b84cc961a7e4e850738>)\n\n### More information\n\nFor further information and in case of questions, please contact the phpMyAdmin team. Our website is [ phpmyadmin.net](<https://www.phpmyadmin.net/>). \n", "edition": 2, "modified": "2016-01-24T00:00:00", "published": "2016-01-24T00:00:00", "id": "PHPMYADMIN:PMASA-2016-7", "href": "https://www.phpmyadmin.net/security/PMASA-2016-7/", "title": "XSS vulnerability in normalization page.", "type": "phpmyadmin", "cvss": {"score": 3.5, "vector": "AV:N/AC:M/Au:S/C:N/I:P/A:N"}}, {"lastseen": "2019-05-29T19:31:06", "bulletinFamily": "software", "cvelist": ["CVE-2016-2042"], "description": "## PMASA-2016-6\n\n**Announcement-ID:** PMASA-2016-6\n\n**Date:** 2016-01-24\n\n### Summary\n\nMultiple full path disclosure vulnerabilities.\n\n### Description\n\nBy calling some scripts that are part of phpMyAdmin in an unexpected way, it is possible to trigger phpMyAdmin to display a PHP error message which contains the full path of the directory where phpMyAdmin is installed.\n\n### Severity\n\nWe consider these vulnerabilities to be non-critical.\n\n### Mitigation factor\n\nThis path disclosure is possible on servers where the recommended setting of the PHP configuration directive display_errors is set to on, which is against the recommendations given in the PHP manual for a production server.\n\n### Affected Versions\n\nVersions 4.4.x (prior to 4.4.15.3) and 4.5.x (prior to 4.5.4) are affected.\n\n### Solution\n\nUpgrade to phpMyAdmin 4.4.15.3 or newer, 4.5.4 or newer or apply patch listed below.\n\n### References\n\nThanks to Emanuel Bronshtein [@e3amn2l](<https://twitter.com/e3amn2l>) for reporting these vulnerabilities.\n\nAssigned CVE ids: [CVE-2016-2042](<https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2016-2042>)\n\nCWE ids: [CWE-661](<https://cwe.mitre.org/data/definitions/661.html>) [CWE-200](<https://cwe.mitre.org/data/definitions/200.html>)\n\n### Patches\n\nThe following commits have been made on the 4.4 branch to fix this issue:\n\n * [3b96f3600651163b8c1d9b6ff7ebd0b142412993](<https://github.com/phpmyadmin/phpmyadmin/commit/3b96f3600651163b8c1d9b6ff7ebd0b142412993>)\n\nThe following commits have been made on the 4.5 branch to fix this issue:\n\n * [5a3de108f26e4b0dddadddbe8ccdb1dd5526771f](<https://github.com/phpmyadmin/phpmyadmin/commit/5a3de108f26e4b0dddadddbe8ccdb1dd5526771f>)\n\n### More information\n\nFor further information and in case of questions, please contact the phpMyAdmin team. Our website is [ phpmyadmin.net](<https://www.phpmyadmin.net/>). \n", "edition": 2, "modified": "2016-01-24T00:00:00", "published": "2016-01-24T00:00:00", "id": "PHPMYADMIN:PMASA-2016-6", "href": "https://www.phpmyadmin.net/security/PMASA-2016-6/", "title": "Multiple full path disclosure vulnerabilities.", "type": "phpmyadmin", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}], "typo3": [{"lastseen": "2016-09-28T15:30:36", "bulletinFamily": "software", "cvelist": ["CVE-2016-2040", "CVE-2016-2042", "CVE-2016-2038", "CVE-2016-2043", "CVE-2015-8669", "CVE-2016-1927", "CVE-2016-2039", "CVE-2016-2041"], "edition": 1, "description": "It has been discovered that the extension \"phpMyAdmin\" (phpmyadmin) is susceptible to unsafe comparison of XSRF/CSRF token, multiple full path disclosure vulnerabilities, multiple XSS vulnerabilities, insecure password generation in JavaScript.\n\n**Release Date:** March 10, 2016\n\n**Component Type:** Third party extension. This extension is not a part of the TYPO3 default installation.\n\n**Affected Versions:** 5.1.4 and below\n\n**Vulnerability Type:** Unsafe Comparison of XSRF/CSRF token, Full Path Disclosure, Cross-Site Scripting, Insecure Password Generation\n\n**Severity:** High\n\n**Suggested CVSS v2.0:** [AV:N/AC:M/Au:S/C:C/I:C/A:P/E:ND/RL:O/RC:C](<http://jvnrss.ise.chuo-u.ac.jp/jtg/cvss/cvss2.cgi?vector=%28AV:N/AC:M/Au:S/C:C/I:C/A:P/E:ND/RL:O/RC:C%29&g=2&lang=en> \"CVSS calculator\" ) ([What's that?](<http://buzz.typo3.org/teams/security/article/use-of-common-vulnerability-scoring-system-in-typo3-security-advisories/> \"Blog post on CVSS usage\" ))\n\n**References:** [PMASA-2016-2](<https://www.phpmyadmin.net/security/PMASA-2016-2/>), [PMASA-2016-5](<https://www.phpmyadmin.net/security/PMASA-2016-5/>) (XSRF/CSRF), [PMASA-2015-6](<https://www.phpmyadmin.net/security/PMASA-2015-6/>), [PMASA-2016-1](<https://www.phpmyadmin.net/security/PMASA-2016-1/>), [PMASA-2016-6](<https://www.phpmyadmin.net/security/PMASA-2016-6/>) (FPD), [PMASA-2016-3](<https://www.phpmyadmin.net/security/PMASA-2016-3/>), [PMASA-2016-7](<https://www.phpmyadmin.net/security/PMASA-2016-7/>) (XSS) and [PMASA-2016-4](<https://www.phpmyadmin.net/security/PMASA-2016-4/>) (IPG)\n\n**Related CVE:** CVE-2016-2039, CVE-2016-2041 (XSRF/CSRF), CVE-2015-8669, CVE-2016-2038, CVE-2016-2042 (FPD), CVE-2016-2040, CVE-2016-2043 (XSS) and CVE-2016-1927 (IPG)\n\n**Problem Description:** Due to missing and wrong user input validation phpMyAdmin is susceptible to multiple vulnerabilities.\n\n**Solution:** An updated version 5.1.5 is available from the TYPO3 extension manager and at <https://typo3.org/extensions/repository/download/phpmyadmin/5.1.5/t3x/>. Users of the extension are advised to update the extension as soon as possible.\n\n**Note:** In general the TYPO3 Security Team recommends to **not use** any extension that bundles database or file management tools on production TYPO3 websites.\n\n**Credits:** Thanks to Andreas Beutel for providing a TYPO3 extension package with an updated phpMyAdmin version.\n\n**General advice:** Follow the recommendations that are given in the [TYPO3 Security Guide](<http://docs.typo3.org/typo3cms/SecurityGuide/> \"Initiates file download\" ). Please subscribe to the [typo3-announce mailing list](<http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-announce> \"Opens external link in new window\" ) to receive future Security Bulletins via E-mail.\n", "modified": "2016-03-10T00:00:00", "published": "2016-03-10T00:00:00", "id": "TYPO3-EXT-SA-2016-007", "href": "https://typo3.org/teams/security/security-bulletins/typo3-extensions/typo3-ext-sa-2016-007/", "type": "typo3", "title": "Multiple vulnerabilities in extension phpMyAdmin (phpmyadmin)", "cvss": {"score": 5.0, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:NONE/A:NONE/"}}], "fedora": [{"lastseen": "2020-12-21T08:17:53", "bulletinFamily": "unix", "cvelist": ["CVE-2016-1927", "CVE-2016-2038", "CVE-2016-2039", "CVE-2016-2040", "CVE-2016-2041", "CVE-2016-2042", "CVE-2016-2043", "CVE-2016-2044", "CVE-2016-2045"], "description": "phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the World Wide Web. Most frequently used operations are supported by the user interface (managing databases, tables, fields, relations, index es, users, permissions), while you still have the ability to directly execute a ny SQL statement. Features include an intuitive web interface, support for most MySQL features (browse and drop databases, tables, views, fields and indexes, create, copy, drop, rename and alter databases, tables, fields and indexes, maintenance server, databases and tables, with proposals on server configuration, execu te, edit and bookmark any SQL-statement, even batch-queries, manage MySQL users and privileges, manage stored procedures and triggers), import data from CSV and SQL, export data to various formats: CSV, SQL, XML, PDF, OpenDocument T ext and Spreadsheet, Word, Excel, LATEX and others, administering multiple serv ers, creating PDF graphics of your database layout, creating complex queries usi ng Query-by-example (QBE), searching globally in a database or a subset of it, transforming stored data into any format using a set of predefined function s, like displaying BLOB-data as image or download-link and much more... ", "modified": "2016-02-03T20:52:02", "published": "2016-02-03T20:52:02", "id": "FEDORA:4F6D8619640B", "href": "", "type": "fedora", "title": "[SECURITY] Fedora 23 Update: phpMyAdmin-4.5.4.1-1.fc23", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}, {"lastseen": "2020-12-21T08:17:53", "bulletinFamily": "unix", "cvelist": ["CVE-2016-1927", "CVE-2016-2038", "CVE-2016-2039", "CVE-2016-2040", "CVE-2016-2041", "CVE-2016-2042", "CVE-2016-2043", "CVE-2016-2044", "CVE-2016-2045"], "description": "phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the World Wide Web. Most frequently used operations are supported by the user interface (managing databases, tables, fields, relations, index es, users, permissions), while you still have the ability to directly execute a ny SQL statement. Features include an intuitive web interface, support for most MySQL features (browse and drop databases, tables, views, fields and indexes, create, copy, drop, rename and alter databases, tables, fields and indexes, maintenance server, databases and tables, with proposals on server configuration, execu te, edit and bookmark any SQL-statement, even batch-queries, manage MySQL users and privileges, manage stored procedures and triggers), import data from CSV and SQL, export data to various formats: CSV, SQL, XML, PDF, OpenDocument T ext and Spreadsheet, Word, Excel, LATEX and others, administering multiple serv ers, creating PDF graphics of your database layout, creating complex queries usi ng Query-by-example (QBE), searching globally in a database or a subset of it, transforming stored data into any format using a set of predefined function s, like displaying BLOB-data as image or download-link and much more... ", "modified": "2016-02-01T06:34:04", "published": "2016-02-01T06:34:04", "id": "FEDORA:051106087A81", "href": "", "type": "fedora", "title": "[SECURITY] Fedora 22 Update: phpMyAdmin-4.5.4-1.fc22", "cvss": {"score": 5.0, "vector": "AV:N/AC:L/Au:N/C:P/I:N/A:N"}}], "f5": [{"lastseen": "2017-06-08T00:16:36", "bulletinFamily": "software", "cvelist": ["CVE-2016-2040", "CVE-2016-2042", "CVE-2016-2038", "CVE-2016-2044", "CVE-2016-2043", "CVE-2016-1927", "CVE-2016-2039", "CVE-2016-2041", "CVE-2016-2045"], "edition": 1, "description": "\nF5 Product Development has evaluated the currently supported releases for potential vulnerability.\n\nTo determine if your release is known to be vulnerable, the components or features that are affected by the vulnerability, and for information about releases or hotfixes that address the vulnerability, refer to the following table:\n\nProduct| Versions known to be vulnerable| Versions known to be not vulnerable| Severity| Vulnerable component or feature \n---|---|---|---|--- \nBIG-IP LTM| None \n| 12.0.0 \n11.0.0 - 11.6.0 \n10.1.0 - 10.2.4 \n| Not vulnerable| None \n \nBIG-IP AAM| None| 12.0.0 \n11.4.0 - 11.6.0 \n| Not vulnerable| None \n \nBIG-IP AFM| None| 12.0.0 \n11.3.0 - 11.6.0 \n| Not vulnerable| None \n \nBIG-IP Analytics| None| 12.0.0 \n11.0.0 - 11.6.0 \n| Not vulnerable| None \n \nBIG-IP APM| None| 12.0.0 \n11.0.0 - 11.6.0 \n10.1.0 - 10.2.4 \n| Not vulnerable| None \n \nBIG-IP ASM| None| 12.0.0 \n11.0.0 - 11.6.0 \n10.1.0 - 10.2.4 \n| Not vulnerable \n| None \n \nBIG-IP DNS| None| 12.0.0 \n| Not vulnerable \n| None \n \nBIG-IP Edge Gateway| None| 11.0.0 - 11.3.0 \n10.1.0 - 10.2.4 \n| Not vulnerable| None \n \nBIG-IP GTM| None| 11.0.0 - 11.6.0 \n10.1.0 - 10.2.4 \n| Not vulnerable| None \n \nBIG-IP Link Controller| None| 12.0.0 \n11.0.0 - 11.6.0 \n10.1.0 - 10.2.4 \n| Not vulnerable| None \nBIG-IP PEM| None| 12.0.0 \n11.3.0 - 11.6.0 \n| Not vulnerable \n| None \n \nBIG-IP PSM| None| 11.0.0 - 11.4.1 \n10.1.0 - 10.2.4 \n| Not vulnerable \n| None \n \nBIG-IP WebAccelerator| None \n| 11.0.0 - 11.3.0 \n10.1.0 - 10.2.4 \n| Not vulnerable| None \n \nBIG-IP WOM| None| 11.0.0 - 11.3.0 \n10.1.0 - 10.2.4 \n| Not vulnerable \n| None \n \nARX| None| 6.0.0 - 6.4.0 \n| Not vulnerable \n| None \n \nEnterprise Manager| None| 3.0.0 - 3.1.1 \n| Not vulnerable| None \n \nFirePass| None| 7.0.0 \n6.0.0 - 6.1.0 \n| Not vulnerable| None \n \nBIG-IQ Cloud| None| 4.0.0 - 4.5.0 \n| Not vulnerable| None \n \nBIG-IQ Device| None| 4.2.0 - 4.5.0 \n| Not vulnerable| None \n \nBIG-IQ Security| None| 4.0.0 - 4.5.0 \n| Not vulnerable \n| None \n \nBIG-IQ ADC| None| 4.5.0 \n| Not vulnerable| None \n \nBIG-IQ Centralized Management| None| 4.6.0 \n| Not vulnerable| None \n \nBIG-IQ Cloud and Orchestration| None| 1.0.0 \n| Not vulnerable| None \n \nLineRate| None| 2.5.0 - 2.6.1 \n| Not vulnerable| None \n \nF5 WebSafe| None| 1.0.0 \n| Not vulnerable| None \n \nTraffix SDC| None| 4.0.0 - 4.4.0 \n3.3.2 - 3.5.1 \n \n| Not vulnerable \n| None \n\n\nNone\n\n * [K9970: Subscribing to email notifications regarding F5 products](<https://support.f5.com/csp/article/K9970>)\n * [K9957: Creating a custom RSS feed to view new and updated documents](<https://support.f5.com/csp/article/K9957>)\n * [K4602: Overview of the F5 security vulnerability response policy](<https://support.f5.com/csp/article/K4602>)\n * [K4918: Overview of the F5 critical issue hotfix policy](<https://support.f5.com/csp/article/K4918>)\n", "modified": "2016-02-29T21:58:00", "published": "2016-02-29T21:58:00", "href": "https://support.f5.com/csp/article/K93445609", "id": "F5:K93445609", "title": "phpMyAdmin vulnerabilities", "type": "f5", "cvss": {"score": 5.0, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:NONE/A:NONE/"}}, {"lastseen": "2016-11-09T00:09:35", "bulletinFamily": "software", "cvelist": ["CVE-2016-2040", "CVE-2016-2042", "CVE-2016-2038", "CVE-2016-2044", "CVE-2016-2043", "CVE-2016-1927", "CVE-2016-2039", "CVE-2016-2041", "CVE-2016-2045"], "description": "Vulnerability Recommended Actions\n\nNone\n\nSupplemental Information\n\n * SOL9970: Subscribing to email notifications regarding F5 products\n * SOL9957: Creating a custom RSS feed to view new and updated documents\n * SOL4602: Overview of the F5 security vulnerability response policy\n * SOL4918: Overview of the F5 critical issue hotfix policy\n", "edition": 1, "modified": "2016-02-29T00:00:00", "published": "2016-02-29T00:00:00", "id": "SOL93445609", "href": "http://support.f5.com/kb/en-us/solutions/public/k/93/sol93445609.html", "type": "f5", "title": "SOL93445609 - phpMyAdmin vulnerabilities", "cvss": {"score": 5.0, "vector": "AV:NETWORK/AC:LOW/Au:NONE/C:PARTIAL/I:NONE/A:NONE/"}}]}