본문 바로가기

취약점 정보2

PHP FormMail Generator에서 만든 PHP 코드에 다중 취약점

728x90

Overview

PHP FormMail Generator is a single-instance website that generates PHP code for standard web forms for inclusion into PHP or WordPress websites. The generated code is vulnerable to authentication bypass and unsafe deserialization of untrusted data.

Description

CWE-302: Authentication Bypass by Assumed-Immutable Data - CVE-2016-9482

A remote unauthenticated user may bypass authentication to access the administrator panel by navigating directly to:

/admin.php?mod=admin&func=panel


CWE-502: Deserialization of Untrusted Data - CVE-2016-9483

The generated PHP form code deserializes untrusted input as part of the phpfmg_filman_download() function. A remote unauthenticated attacker may be able to use this vulnerability to inject PHP code, or along with CVE-2016-9484 (below) to perform local file inclusion attacks and obtain files from the server.

CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') - CVE-2016-9484

The generated PHP form code does not properly validate user input folder directories, allowing a remote unauthenticated attacker to perform a path traversal and access arbitrary files on the server.

The PHP FormMail Generator website does not use version numbers and is updated continuously. Any PHP form code generated by this website prior to 2016-12-06 may be vulnerable.

Impact

An unauthenticated remote user may be able to gain access to the form's administrator panel, or obtain files from the server.

Solution

Regenerate your PHP form code

The PHP FormMail Generator website as of 2016-12-06 generates PHP code that addresses these issues. Affected users are encouraged to regenerate the PHP form code using the website, or manually apply patches.

Vendor Information (Learn More)

VendorStatusDate NotifiedDate Updated
PHP FormMail GeneratorAffected29 Nov 201608 Dec 2016



CVSS Metrics (Learn More)

GroupScoreVector
Base10.0AV:N/AC:L/Au:N/C:C/I:C/A:C
Temporal10.0E:ND/RL:ND/RC:ND
Environmental7.5CDP:ND/TD:M/CR:ND/IR:ND/AR:ND

References


728x90