Vulnerabilities > CVE-2018-17082 - Cross-site Scripting vulnerability in PHP
Attack vector
NETWORK Attack complexity
MEDIUM Privileges required
NONE Confidentiality impact
NONE Integrity impact
PARTIAL Availability impact
NONE Summary
The Apache2 component in PHP before 5.6.38, 7.0.x before 7.0.32, 7.1.x before 7.1.22, and 7.2.x before 7.2.10 allows XSS via the body of a "Transfer-Encoding: chunked" request, because the bucket brigade is mishandled in the php_handler function in sapi/apache2handler/sapi_apache2.c.
Vulnerable Configurations
Common Weakness Enumeration (CWE)
Common Attack Pattern Enumeration and Classification (CAPEC)
- Cross Site Scripting through Log Files An attacker may leverage a system weakness where logs are susceptible to log injection to insert scripts into the system's logs. If these logs are later viewed by an administrator through a thin administrative interface and the log data is not properly HTML encoded before being written to the page, the attackers' scripts stored in the log will be executed in the administrative interface with potentially serious consequences. This attack pattern is really a combination of two other attack patterns: log injection and stored cross site scripting.
- Embedding Scripts in Non-Script Elements This attack is a form of Cross-Site Scripting (XSS) where malicious scripts are embedded in elements that are not expected to host scripts such as image tags (<img>), comments in XML documents (< !-CDATA->), etc. These tags may not be subject to the same input validation, output validation, and other content filtering and checking routines, so this can create an opportunity for an attacker to tunnel through the application's elements and launch a XSS attack through other elements. As with all remote attacks, it is important to differentiate the ability to launch an attack (such as probing an internal network for unpatched servers) and the ability of the remote attacker to collect and interpret the output of said attack.
- Embedding Scripts within Scripts An attack of this type exploits a programs' vulnerabilities that are brought on by allowing remote hosts to execute scripts. The attacker leverages this capability to execute scripts to execute his/her own script by embedding it within other scripts that the target software is likely to execute. The attacker must have the ability to inject script into script that is likely to be executed. If this is done, then the attacker can potentially launch a variety of probes and attacks against the web server's local environment, in many cases the so-called DMZ, back end resources the web server can communicate with, and other hosts. With the proliferation of intermediaries, such as Web App Firewalls, network devices, and even printers having JVMs and Web servers, there are many locales where an attacker can inject malicious scripts. Since this attack pattern defines scripts within scripts, there are likely privileges to execute said attack on the host. Of course, these attacks are not solely limited to the server side, client side scripts like Ajax and client side JavaScript can contain malicious scripts as well. In general all that is required is for there to be sufficient privileges to execute a script, but not protected against writing.
- Cross-Site Scripting in Error Pages An attacker distributes a link (or possibly some other query structure) with a request to a third party web server that is malformed and also contains a block of exploit code in order to have the exploit become live code in the resulting error page. When the third party web server receives the crafted request and notes the error it then creates an error message that echoes the malformed message, including the exploit. Doing this converts the exploit portion of the message into to valid language elements that are executed by the viewing browser. When a victim executes the query provided by the attacker the infected error message error message is returned including the exploit code which then runs in the victim's browser. XSS can result in execution of code as well as data leakage (e.g. session cookies can be sent to the attacker). This type of attack is especially dangerous since the exploit appears to come from the third party web server, who the victim may trust and hence be more vulnerable to deception.
- Cross-Site Scripting Using Alternate Syntax The attacker uses alternate forms of keywords or commands that result in the same action as the primary form but which may not be caught by filters. For example, many keywords are processed in a case insensitive manner. If the site's web filtering algorithm does not convert all tags into a consistent case before the comparison with forbidden keywords it is possible to bypass filters (e.g., incomplete black lists) by using an alternate case structure. For example, the "script" tag using the alternate forms of "Script" or "ScRiPt" may bypass filters where "script" is the only form tested. Other variants using different syntax representations are also possible as well as using pollution meta-characters or entities that are eventually ignored by the rendering engine. The attack can result in the execution of otherwise prohibited functionality.
Nessus
NASL family SuSE Local Security Checks NASL id SUSE_SU-2018-3016-1.NASL description This update for php7 fixes the following issues : This security issue was fixed : CVE-2018-17082: The Apache2 component in PHP allowed XSS via the body of a last seen 2020-03-18 modified 2019-01-02 plugin id 120120 published 2019-01-02 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/120120 title SUSE SLES15 Security Update : php7 (SUSE-SU-2018:3016-1) code # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from SUSE update advisory SUSE-SU-2018:3016-1. # The text itself is copyright (C) SUSE. # include("compat.inc"); if (description) { script_id(120120); script_version("1.3"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/03/16"); script_cve_id("CVE-2018-17082"); script_name(english:"SUSE SLES15 Security Update : php7 (SUSE-SU-2018:3016-1)"); script_summary(english:"Checks rpm output for the updated packages."); script_set_attribute( attribute:"synopsis", value:"The remote SUSE host is missing one or more security updates." ); script_set_attribute( attribute:"description", value: "This update for php7 fixes the following issues : This security issue was fixed : CVE-2018-17082: The Apache2 component in PHP allowed XSS via the body of a 'Transfer-Encoding: chunked' request, because the bucket brigade was mishandled in the php_handler function (bsc#1108753) The update package also includes non-security fixes. See advisory for details. Note that Tenable Network Security has extracted the preceding description block directly from the SUSE security advisory. Tenable has attempted to automatically clean and format it as much as possible without introducing additional issues." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1108554" ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.suse.com/show_bug.cgi?id=1108753" ); script_set_attribute( attribute:"see_also", value:"https://www.suse.com/security/cve/CVE-2018-17082/" ); # https://www.suse.com/support/update/announcement/2018/suse-su-20183016-1/ script_set_attribute( attribute:"see_also", value:"http://www.nessus.org/u?ef01e421" ); script_set_attribute( attribute:"solution", value: "To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or 'zypper patch'. Alternatively you can run the command listed for your product : SUSE Linux Enterprise Module for Web Scripting 15:zypper in -t patch SUSE-SLE-Module-Web-Scripting-15-2018-2148=1" ); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/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:R/S:C/C:L/I:L/A:N"); script_set_cvss3_temporal_vector("CVSS:3.0/E:U/RL:O/RC:C"); script_set_attribute(attribute:"exploitability_ease", value:"No known exploits are available"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:apache2-mod_php7"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:apache2-mod_php7-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-bcmath"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-bcmath-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-bz2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-bz2-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-calendar"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-calendar-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-ctype"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-ctype-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-curl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-curl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-dba"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-dba-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-dom"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-dom-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-enchant"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-enchant-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-exif"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-exif-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-fastcgi"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-fastcgi-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-fileinfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-fileinfo-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-fpm"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-fpm-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-ftp"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-ftp-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-gd"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-gd-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-gettext"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-gettext-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-gmp"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-gmp-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-iconv"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-iconv-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-intl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-intl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-json"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-json-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-ldap"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-ldap-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-mbstring"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-mbstring-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-mysql"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-mysql-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-odbc"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-odbc-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-opcache"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-opcache-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-openssl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-openssl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-pcntl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-pcntl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-pdo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-pdo-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-pgsql"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-pgsql-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-phar"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-phar-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-posix"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-posix-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-shmop"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-shmop-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-snmp"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-snmp-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-soap"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-soap-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-sockets"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-sockets-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-sqlite"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-sqlite-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-sysvmsg"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-sysvmsg-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-sysvsem"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-sysvsem-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-sysvshm"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-sysvshm-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-tokenizer"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-tokenizer-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-wddx"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-wddx-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-xmlreader"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-xmlreader-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-xmlrpc"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-xmlrpc-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-xmlwriter"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-xmlwriter-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-xsl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-xsl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-zip"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-zip-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-zlib"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:suse_linux:php7-zlib-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:suse_linux:15"); script_set_attribute(attribute:"vuln_publication_date", value:"2018/09/16"); script_set_attribute(attribute:"patch_publication_date", value:"2018/10/05"); script_set_attribute(attribute:"plugin_publication_date", value:"2019/01/02"); script_set_attribute(attribute:"generated_plugin", value:"current"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"SuSE Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/cpu", "Host/SuSE/release", "Host/SuSE/rpm-list"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/SuSE/release"); if (isnull(release) || release !~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "SUSE"); os_ver = pregmatch(pattern: "^(SLE(S|D)\d+)", string:release); if (isnull(os_ver)) audit(AUDIT_UNKNOWN_APP_VER, "SUSE"); os_ver = os_ver[1]; if (! preg(pattern:"^(SLES15)$", string:os_ver)) audit(AUDIT_OS_NOT, "SUSE SLES15", "SUSE " + os_ver); if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); cpu = get_kb_item("Host/cpu"); if (isnull(cpu)) audit(AUDIT_UNKNOWN_ARCH); if (cpu !~ "^i[3-6]86$" && "x86_64" >!< cpu && "s390x" >!< cpu) audit(AUDIT_LOCAL_CHECKS_NOT_IMPLEMENTED, "SUSE " + os_ver, cpu); sp = get_kb_item("Host/SuSE/patchlevel"); if (isnull(sp)) sp = "0"; if (os_ver == "SLES15" && (! preg(pattern:"^(0)$", string:sp))) audit(AUDIT_OS_NOT, "SLES15 SP0", os_ver + " SP" + sp); flag = 0; if (rpm_check(release:"SLES15", sp:"0", reference:"apache2-mod_php7-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"apache2-mod_php7-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-bcmath-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-bcmath-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-bz2-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-bz2-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-calendar-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-calendar-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-ctype-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-ctype-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-curl-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-curl-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-dba-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-dba-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-debugsource-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-devel-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-dom-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-dom-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-enchant-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-enchant-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-exif-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-exif-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-fastcgi-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-fastcgi-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-fileinfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-fileinfo-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-fpm-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-fpm-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-ftp-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-ftp-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-gd-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-gd-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-gettext-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-gettext-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-gmp-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-gmp-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-iconv-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-iconv-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-intl-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-intl-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-json-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-json-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-ldap-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-ldap-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-mbstring-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-mbstring-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-mysql-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-mysql-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-odbc-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-odbc-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-opcache-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-opcache-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-openssl-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-openssl-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-pcntl-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-pcntl-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-pdo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-pdo-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-pgsql-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-pgsql-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-phar-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-phar-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-posix-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-posix-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-shmop-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-shmop-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-snmp-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-snmp-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-soap-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-soap-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-sockets-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-sockets-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-sqlite-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-sqlite-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-sysvmsg-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-sysvmsg-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-sysvsem-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-sysvsem-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-sysvshm-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-sysvshm-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-tokenizer-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-tokenizer-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-wddx-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-wddx-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-xmlreader-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-xmlreader-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-xmlrpc-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-xmlrpc-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-xmlwriter-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-xmlwriter-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-xsl-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-xsl-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-zip-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-zip-debuginfo-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-zlib-7.2.5-4.12.2")) flag++; if (rpm_check(release:"SLES15", sp:"0", reference:"php7-zlib-debuginfo-7.2.5-4.12.2")) flag++; if (flag) { set_kb_item(name:'www/0/XSS', value:TRUE); if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "php7"); }
NASL family SuSE Local Security Checks NASL id OPENSUSE-2018-1078.NASL description This update for php7 fixes the following issues : - CVE-2018-17082: The Apache2 component in PHP allowed XSS via the body of a last seen 2020-06-05 modified 2018-10-01 plugin id 117853 published 2018-10-01 reporter This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/117853 title openSUSE Security Update : php7 (openSUSE-2018-1078) code #%NASL_MIN_LEVEL 80502 # # (C) Tenable Network Security, Inc. # # The descriptive text and package checks in this plugin were # extracted from openSUSE Security Update openSUSE-2018-1078. # # The text description of this plugin is (C) SUSE LLC. # include("compat.inc"); if (description) { script_id(117853); script_version("1.3"); script_set_attribute(attribute:"plugin_modification_date", value:"2020/06/04"); script_cve_id("CVE-2018-17082"); script_name(english:"openSUSE Security Update : php7 (openSUSE-2018-1078)"); script_summary(english:"Check for the openSUSE-2018-1078 patch"); script_set_attribute( attribute:"synopsis", value:"The remote openSUSE host is missing a security update." ); script_set_attribute( attribute:"description", value: "This update for php7 fixes the following issues : - CVE-2018-17082: The Apache2 component in PHP allowed XSS via the body of a 'Transfer-Encoding: chunked' request, because the bucket brigade was mishandled in the php_handler function (bsc#1108753). This update was imported from the SUSE:SLE-12:Update update project." ); script_set_attribute( attribute:"see_also", value:"https://bugzilla.opensuse.org/show_bug.cgi?id=1108753" ); script_set_attribute(attribute:"solution", value:"Update the affected php7 packages."); script_set_cvss_base_vector("CVSS2#AV:N/AC:M/Au:N/C:N/I:P/A:N"); script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N"); script_set_attribute(attribute:"plugin_type", value:"local"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:apache2-mod_php7"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:apache2-mod_php7-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-bcmath"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-bcmath-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-bz2"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-bz2-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-calendar"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-calendar-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-ctype"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-ctype-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-curl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-curl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-dba"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-dba-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-debugsource"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-devel"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-dom"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-dom-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-enchant"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-enchant-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-exif"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-exif-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-fastcgi"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-fastcgi-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-fileinfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-fileinfo-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-firebird"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-firebird-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-fpm"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-fpm-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-ftp"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-ftp-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-gd"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-gd-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-gettext"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-gettext-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-gmp"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-gmp-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-iconv"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-iconv-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-imap"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-imap-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-intl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-intl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-json"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-json-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-ldap"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-ldap-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-mbstring"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-mbstring-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-mcrypt"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-mcrypt-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-mysql"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-mysql-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-odbc"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-odbc-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-opcache"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-opcache-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-openssl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-openssl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-pcntl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-pcntl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-pdo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-pdo-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-pear"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-pear-Archive_Tar"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-pgsql"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-pgsql-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-phar"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-phar-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-posix"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-posix-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-pspell"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-pspell-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-readline"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-readline-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-shmop"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-shmop-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-snmp"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-snmp-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-soap"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-soap-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-sockets"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-sockets-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-sqlite"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-sqlite-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-sysvmsg"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-sysvmsg-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-sysvsem"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-sysvsem-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-sysvshm"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-sysvshm-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-tidy"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-tidy-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-tokenizer"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-tokenizer-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-wddx"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-wddx-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-xmlreader"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-xmlreader-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-xmlrpc"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-xmlrpc-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-xmlwriter"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-xmlwriter-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-xsl"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-xsl-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-zip"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-zip-debuginfo"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-zlib"); script_set_attribute(attribute:"cpe", value:"p-cpe:/a:novell:opensuse:php7-zlib-debuginfo"); script_set_attribute(attribute:"cpe", value:"cpe:/o:novell:opensuse:42.3"); script_set_attribute(attribute:"patch_publication_date", value:"2018/09/28"); script_set_attribute(attribute:"plugin_publication_date", value:"2018/10/01"); script_end_attributes(); script_category(ACT_GATHER_INFO); script_copyright(english:"This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof."); script_family(english:"SuSE Local Security Checks"); script_dependencies("ssh_get_info.nasl"); script_require_keys("Host/local_checks_enabled", "Host/SuSE/release", "Host/SuSE/rpm-list", "Host/cpu"); exit(0); } include("audit.inc"); include("global_settings.inc"); include("rpm.inc"); if (!get_kb_item("Host/local_checks_enabled")) audit(AUDIT_LOCAL_CHECKS_NOT_ENABLED); release = get_kb_item("Host/SuSE/release"); if (isnull(release) || release =~ "^(SLED|SLES)") audit(AUDIT_OS_NOT, "openSUSE"); if (release !~ "^(SUSE42\.3)$") audit(AUDIT_OS_RELEASE_NOT, "openSUSE", "42.3", release); if (!get_kb_item("Host/SuSE/rpm-list")) audit(AUDIT_PACKAGE_LIST_MISSING); ourarch = get_kb_item("Host/cpu"); if (!ourarch) audit(AUDIT_UNKNOWN_ARCH); if (ourarch !~ "^(i586|i686|x86_64)$") audit(AUDIT_ARCH_NOT, "i586 / i686 / x86_64", ourarch); flag = 0; if ( rpm_check(release:"SUSE42.3", reference:"apache2-mod_php7-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"apache2-mod_php7-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-bcmath-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-bcmath-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-bz2-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-bz2-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-calendar-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-calendar-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-ctype-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-ctype-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-curl-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-curl-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-dba-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-dba-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-debugsource-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-devel-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-dom-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-dom-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-enchant-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-enchant-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-exif-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-exif-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-fastcgi-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-fastcgi-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-fileinfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-fileinfo-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-firebird-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-firebird-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-fpm-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-fpm-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-ftp-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-ftp-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-gd-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-gd-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-gettext-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-gettext-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-gmp-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-gmp-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-iconv-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-iconv-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-imap-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-imap-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-intl-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-intl-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-json-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-json-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-ldap-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-ldap-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-mbstring-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-mbstring-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-mcrypt-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-mcrypt-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-mysql-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-mysql-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-odbc-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-odbc-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-opcache-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-opcache-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-openssl-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-openssl-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-pcntl-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-pcntl-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-pdo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-pdo-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-pear-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-pear-Archive_Tar-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-pgsql-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-pgsql-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-phar-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-phar-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-posix-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-posix-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-pspell-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-pspell-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-readline-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-readline-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-shmop-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-shmop-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-snmp-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-snmp-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-soap-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-soap-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-sockets-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-sockets-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-sqlite-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-sqlite-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-sysvmsg-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-sysvmsg-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-sysvsem-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-sysvsem-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-sysvshm-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-sysvshm-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-tidy-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-tidy-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-tokenizer-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-tokenizer-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-wddx-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-wddx-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-xmlreader-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-xmlreader-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-xmlrpc-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-xmlrpc-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-xmlwriter-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-xmlwriter-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-xsl-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-xsl-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-zip-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-zip-debuginfo-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-zlib-7.0.7-49.1") ) flag++; if ( rpm_check(release:"SUSE42.3", reference:"php7-zlib-debuginfo-7.0.7-49.1") ) flag++; if (flag) { if (report_verbosity > 0) security_warning(port:0, extra:rpm_report_get()); else security_warning(0); exit(0); } else { tested = pkg_tests_get(); if (tested) audit(AUDIT_PACKAGE_NOT_AFFECTED, tested); else audit(AUDIT_PACKAGE_NOT_INSTALLED, "apache2-mod_php7 / apache2-mod_php7-debuginfo / php7 / php7-bcmath / etc"); }
NASL family SuSE Local Security Checks NASL id SUSE_SU-2018-3018-1.NASL description This update for php53 fixes the following issue : CVE-2018-17082: The Apache2 component in PHP allowed XSS via the body of a last seen 2020-06-01 modified 2020-06-02 plugin id 117989 published 2018-10-09 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/117989 title SUSE SLES11 Security Update : php53 (SUSE-SU-2018:3018-1) NASL family Debian Local Security Checks NASL id DEBIAN_DLA-1509.NASL description A vulnerability has been discovered in php5, a server-side, HTML-embedded scripting language. The Apache2 component allows XSS via the body of a last seen 2020-06-01 modified 2020-06-02 plugin id 117610 published 2018-09-20 reporter This script is Copyright (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/117610 title Debian DLA-1509-1 : php5 security update NASL family Debian Local Security Checks NASL id DEBIAN_DSA-4353.NASL description Multiple security issues were found in PHP, a widely-used open source general purpose scripting language: The EXIF module was susceptible to denial of service/information disclosure when parsing malformed images, the Apache module allowed cross-site-scripting via the body of a last seen 2020-04-30 modified 2018-12-11 plugin id 119561 published 2018-12-11 reporter This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/119561 title Debian DSA-4353-1 : php7.0 - security update NASL family SuSE Local Security Checks NASL id OPENSUSE-2018-1131.NASL description This update for php7 fixes the following issues : This security issue was fixed : - CVE-2018-17082: The Apache2 component in PHP allowed XSS via the body of a last seen 2020-06-05 modified 2018-10-09 plugin id 117985 published 2018-10-09 reporter This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/117985 title openSUSE Security Update : php7 (openSUSE-2018-1131) NASL family Fedora Local Security Checks NASL id FEDORA_2018-791C3CFE21.NASL description **PHP version 7.2.10** (13 Sep 2018) **Core:** - Fixed bug php#76754 (parent private constant in extends class memory leak). (Laruence) - Fixed bug php#72443 (Generate enabled extension). (petk) - Fixed bug php#75797 (Memory leak when using class_alias() in non-debug mode). (Massimiliano Braglia) **Apache2:** - Fixed bug php#76582 (Apache bucket brigade sometimes becomes invalid). (stas) **Bz2:** - Fixed arginfo for bzcompress. (Tyson Andre) **gettext:** - Fixed bug php#76517 (incorrect restoring of LDFLAGS). (sji) **iconv:** - Fixed bug php#68180 (iconv_mime_decode can return extra characters in a header). (cmb) - Fixed bug php#63839 (iconv_mime_decode_headers function is skipping headers). (cmb) - Fixed bug php#60494 (iconv_mime_decode does ignore special characters). (cmb) - Fixed bug php#55146 (iconv_mime_decode_headers() skips some headers). (cmb) **intl:** - Fixed bug php#74484 (MessageFormatter::formatMessage memory corruption with 11+ named placeholders). (Anatol) **libxml:** - Fixed bug php#76777 ( last seen 2020-06-05 modified 2019-01-03 plugin id 120547 published 2019-01-03 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/120547 title Fedora 29 : php (2018-791c3cfe21) NASL family CGI abuses NASL id PHP_7_0_32.NASL description According to its banner, the version of PHP running on the remote web server is 7.0.x prior to 7.0.32. It is, therefore, affected by a cross-site scripting vulnerability. An attacker could leverage this vulnerability to inject malicious code which executes within the security context of the affected site. last seen 2020-06-01 modified 2020-06-02 plugin id 117498 published 2018-09-14 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/117498 title PHP 7.0.x < 7.0.32 Transfer-Encoding Parameter XSS Vulnerability NASL family CGI abuses NASL id PHP_5_6_38.NASL description According to its banner, the version of PHP running on the remote web server is 5.6.x prior to 5.6.38. It is, therefore, affected by a cross-site scripting vulnerability. An attacker could leverage this vulnerability to inject malicious code which executes within the security context of the affected site. last seen 2020-06-01 modified 2020-06-02 plugin id 117497 published 2018-09-14 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/117497 title PHP 5.6.x < 5.6.38 Transfer-Encoding Parameter XSS Vulnerability NASL family SuSE Local Security Checks NASL id OPENSUSE-2018-1130.NASL description This update for php5 fixes the following issue : - CVE-2018-17082: The Apache2 component in PHP allowed XSS via the body of a last seen 2020-06-05 modified 2018-10-09 plugin id 117984 published 2018-10-09 reporter This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/117984 title openSUSE Security Update : php5 (openSUSE-2018-1130) NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-2649.NASL description According to the versions of the php packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - ** DISPUTED ** Integer overflow in the php_raw_url_encode function in ext/standard/url.c in PHP before 5.5.34, 5.6.x before 5.6.20, and 7.x before 7.0.5 allows remote attackers to cause a denial of service (application crash) via a long string to the rawurlencode function. NOTE: the vendor says last seen 2020-05-08 modified 2019-12-18 plugin id 132184 published 2019-12-18 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/132184 title EulerOS 2.0 SP3 : php (EulerOS-SA-2019-2649) NASL family Fedora Local Security Checks NASL id FEDORA_2018-B6072889DB.NASL description **PHP version 7.2.10** (13 Sep 2018) **Core:** - Fixed bug php#76754 (parent private constant in extends class memory leak). (Laruence) - Fixed bug php#72443 (Generate enabled extension). (petk) - Fixed bug php#75797 (Memory leak when using class_alias() in non-debug mode). (Massimiliano Braglia) **Apache2:** - Fixed bug php#76582 (Apache bucket brigade sometimes becomes invalid). (stas) **Bz2:** - Fixed arginfo for bzcompress. (Tyson Andre) **gettext:** - Fixed bug php#76517 (incorrect restoring of LDFLAGS). (sji) **iconv:** - Fixed bug php#68180 (iconv_mime_decode can return extra characters in a header). (cmb) - Fixed bug php#63839 (iconv_mime_decode_headers function is skipping headers). (cmb) - Fixed bug php#60494 (iconv_mime_decode does ignore special characters). (cmb) - Fixed bug php#55146 (iconv_mime_decode_headers() skips some headers). (cmb) **intl:** - Fixed bug php#74484 (MessageFormatter::formatMessage memory corruption with 11+ named placeholders). (Anatol) **libxml:** - Fixed bug php#76777 ( last seen 2020-06-05 modified 2019-01-03 plugin id 120726 published 2019-01-03 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/120726 title Fedora 28 : php (2018-b6072889db) NASL family CGI abuses NASL id PHP_7_1_22.NASL description According to its banner, the version of PHP running on the remote web server is 7.1.x prior to 7.1.22. It is, therefore, affected by a cross-site scripting vulnerability. An attacker could leverage this vulnerability to inject malicious code which executes within the security context of the affected site. last seen 2020-06-01 modified 2020-06-02 plugin id 117499 published 2018-09-14 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/117499 title PHP 7.1.x < 7.1.22 Transfer-Encoding Parameter XSS Vulnerability NASL family Gentoo Local Security Checks NASL id GENTOO_GLSA-201812-01.NASL description The remote host is affected by the vulnerability described in GLSA-201812-01 (PHP: Multiple vulnerabilities) Multiple vulnerabilities have been discovered in PHP. Please review the referenced CVE identifiers for details. Impact : An attacker could cause a Denial of Service condition or obtain sensitive information. Workaround : There is no known workaround at this time. last seen 2020-06-01 modified 2020-06-02 plugin id 119320 published 2018-12-03 reporter This script is Copyright (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/119320 title GLSA-201812-01 : PHP: Multiple vulnerabilities NASL family SuSE Local Security Checks NASL id OPENSUSE-2019-771.NASL description This update for php7 fixes the following issues : This security issue was fixed : - CVE-2018-17082: The Apache2 component in PHP allowed XSS via the body of a last seen 2020-06-01 modified 2020-06-02 plugin id 123331 published 2019-03-27 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/123331 title openSUSE Security Update : php7 (openSUSE-2019-771) NASL family Amazon Linux Local Security Checks NASL id ALA_ALAS-2018-1090.NASL description The Apache2 component in PHP before 5.6.38, 7.0.x before 7.0.32, 7.1.x before 7.1.22, and 7.2.x before 7.2.10 allows XSS via the body of a last seen 2020-06-01 modified 2020-06-02 plugin id 118210 published 2018-10-19 reporter This script is Copyright (C) 2018 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/118210 title Amazon Linux AMI : php56 / php70,php71,php72 (ALAS-2018-1090) NASL family Fedora Local Security Checks NASL id FEDORA_2018-25100B492C.NASL description **PHP version 7.1.22** (13 Sep 2018) **Core:** - Fixed bug php#76754 (parent private constant in extends class memory leak). (Laruence) - Fixed bug php#72443 (Generate enabled extension). (petk) **Apache2:** - Fixed bug php#76582 (Apache bucket brigade sometimes becomes invalid). (stas) **Bz2:** - Fixed arginfo for bzcompress. (Tyson Andre) **gettext:** - Fixed bug php#76517 (incorrect restoring of LDFLAGS). (sji) **iconv:** - Fixed bug php#68180 (iconv_mime_decode can return extra characters in a header). (cmb) - Fixed bug php#63839 (iconv_mime_decode_headers function is skipping headers). (cmb) - Fixed bug php#60494 (iconv_mime_decode does ignore special characters). (cmb) - Fixed bug php#55146 (iconv_mime_decode_headers() skips some headers). (cmb) **intl:** - Fixed bug php#74484 (MessageFormatter::formatMessage memory corruption with 11+ named placeholders). (Anatol) **libxml:** - Fixed bug php#76777 ( last seen 2020-06-05 modified 2018-09-24 plugin id 117646 published 2018-09-24 reporter This script is Copyright (C) 2018-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/117646 title Fedora 27 : php (2018-25100b492c) NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-2438.NASL description According to the versions of the php packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - In PHP versions 7.1.x below 7.1.33, 7.2.x below 7.2.24 and 7.3.x below 7.3.11 in certain configurations of FPM setup it is possible to cause FPM module to write past allocated buffers into the space reserved for FCGI protocol data, thus opening the possibility of remote code execution.(CVE-2019-11043) - The finish_nested_data function in ext/standard/var_unserializer.re in PHP before 5.6.31, 7.0.x before 7.0.21, and 7.1.x before 7.1.7 is prone to a buffer over-read while unserializing untrusted data. Exploitation of this issue can have an unspecified impact on the integrity of PHP.(CVE-2017-12933) - ext/standard/var_unserializer.c in PHP before 5.6.25 and 7.x before 7.0.10 mishandles certain invalid objects, which allows remote attackers to cause a denial of service or possibly have unspecified other impact via crafted serialized data that leads to a (1) __destruct call or (2) magic method call.(CVE-2016-7124) - The match function in pcre_exec.c in PCRE before 8.37 mishandles the /(?:((abcd))|(((?:(?:(?:(?:abc|(?:abcdef))))b)abcdefghi )abc)|((*ACCEPT)))/ pattern and related patterns involving (*ACCEPT), which allows remote attackers to obtain sensitive information from process memory or cause a denial of service (partially initialized memory and application crash) via a crafted regular expression, as demonstrated by a JavaScript RegExp object encountered by Konqueror, aka ZDI-CAN-2547.(CVE-2015-8382) - An issue was discovered in PHP before 5.6.33, 7.0.x before 7.0.27, 7.1.x before 7.1.13, and 7.2.x before 7.2.1. There is Reflected XSS on the PHAR 404 error page via the URI of a request for a .phar file.(CVE-2018-5712) - exif_process_IFD_in_MAKERNOTE in ext/exif/exif.c in PHP before 5.6.37, 7.0.x before 7.0.31, 7.1.x before 7.1.20, and 7.2.x before 7.2.8 allows remote attackers to cause a denial of service (out-of-bounds read and application crash) via a crafted JPEG file.(CVE-2018-14851) - The SplObjectStorage unserialize implementation in ext/spl/spl_observer.c in PHP before 7.0.12 does not verify that a key is an object, which allows remote attackers to execute arbitrary code or cause a denial of service (uninitialized memory access) via crafted serialized data.(CVE-2016-7480) - ext/standard/var_unserializer.re in PHP before 5.6.26 mishandles object-deserialization failures, which allows remote attackers to cause a denial of service (memory corruption) or possibly have unspecified other impact via an unserialize call that references a partially constructed object.(CVE-2016-7411) - The odbc_bindcols function in ext/odbc/php_odbc.c in PHP before 5.6.12 mishandles driver behavior for SQL_WVARCHAR columns, which allows remote attackers to cause a denial of service (application crash) in opportunistic circumstances by leveraging use of the odbc_fetch_array function to access a certain type of Microsoft SQL Server table.(CVE-2015-8879) - In PHP before 5.6.32, 7.x before 7.0.25, and 7.1.x before 7.1.11, an error in the date extension last seen 2020-05-08 modified 2019-12-04 plugin id 131592 published 2019-12-04 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/131592 title EulerOS 2.0 SP2 : php (EulerOS-SA-2019-2438) NASL family SuSE Local Security Checks NASL id SUSE_SU-2018-3017-1.NASL description This update for php5 fixes the following issue : CVE-2018-17082: The Apache2 component in PHP allowed XSS via the body of a last seen 2020-03-18 modified 2019-01-02 plugin id 120121 published 2019-01-02 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/120121 title SUSE SLES12 Security Update : php5 (SUSE-SU-2018:3017-1) NASL family Huawei Local Security Checks NASL id EULEROS_SA-2019-1984.NASL description According to the versions of the php packages installed, the EulerOS installation on the remote host is affected by the following vulnerabilities : - The get_icu_disp_value_src_php function in ext/intl/locale/locale_methods.c in PHP before 5.3.29, 5.4.x before 5.4.30, and 5.5.x before 5.5.14 does not properly restrict calls to the ICU uresbund.cpp component, which allows remote attackers to cause a denial of service (buffer overflow) or possibly have unspecified other impact via a locale_get_display_name call with a long first argument.(CVE-2014-9912) - Use-after-free vulnerability in the spl_ptr_heap_insert function in ext/spl/spl_heap.c in PHP before 5.5.27 and 5.6.x before 5.6.11 allows remote attackers to execute arbitrary code by triggering a failed SplMinHeap::compare operation.(CVE-2015-4116) - A flaw was found in the way the way PHP last seen 2020-05-08 modified 2019-09-24 plugin id 129178 published 2019-09-24 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/129178 title EulerOS 2.0 SP5 : php (EulerOS-SA-2019-1984) NASL family CGI abuses NASL id PHP_7_2_10.NASL description According to its banner, the version of PHP running on the remote web server is 7.2.x prior to 7.2.10. It is, therefore, affected by a cross-site scripting vulnerability. An attacker could leverage this vulnerability to inject malicious code which executes within the security context of the affected site. last seen 2020-06-01 modified 2020-06-02 plugin id 117500 published 2018-09-14 reporter This script is Copyright (C) 2018-2019 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/117500 title PHP 7.2.x < 7.2.10 Transfer-Encoding Parameter XSS Vulnerability NASL family SuSE Local Security Checks NASL id SUSE_SU-2018-2887-1.NASL description This update for php7 fixes the following issues : CVE-2018-17082: The Apache2 component in PHP allowed XSS via the body of a last seen 2020-03-18 modified 2019-01-02 plugin id 120107 published 2019-01-02 reporter This script is Copyright (C) 2019-2020 and is owned by Tenable, Inc. or an Affiliate thereof. source https://www.tenable.com/plugins/nessus/120107 title SUSE SLES12 Security Update : php7 (SUSE-SU-2018:2887-1)
Redhat
advisories |
| ||||
rpms |
|
References
- http://php.net/ChangeLog-5.php
- http://php.net/ChangeLog-7.php
- https://access.redhat.com/errata/RHSA-2019:2519
- https://bugs.php.net/bug.php?id=76582
- https://github.com/php/php-src/commit/23b057742e3cf199612fa8050ae86cae675e214e
- https://lists.debian.org/debian-lts-announce/2018/09/msg00020.html
- https://security.gentoo.org/glsa/201812-01
- https://security.netapp.com/advisory/ntap-20180924-0001/
- https://www.debian.org/security/2018/dsa-4353
- https://www.tenable.com/security/tns-2019-07