Published:2020/03/24  Last Updated:2020/03/24

JVN#85942151
mailform vulnerable to cross-site scripting

Overview

mailform provided by keitai-site.net contains a cross-site scripting vulnerability.

Vendor Information

Developer: keitai-site.net

Product name and version: mailform version 1.04

Description

mailform provided by keitai-site.net is a PHP script providing mail form functions to a website.
mailform contains a stored cross-site scripting vulnerability (CWE-79).

Impact

An arbitrary script may be executed on the web browser of an administrator who is accessing a website using mailform.

Solution

Consider stop using mailform version 1.04
Since the developer was unreachable, existence of any mitigations is unknown.

Vendor Opinion

None Provided

JPCERT/CC Addendum

During the meeting of Committee for authorizing the disclosure of unresolved vulnerabilities held on January 16, 2020, it was judged that an advisory for this vulnerability shall be disclosed since all the criteria and conditions described below which are stated in Standards for Handling Vulnerability related Information of Software Products and Other and Information Security Early Warning Partnership Guideline have been satisfied.

  1. The developer of the product is unreachable:
    JPCERT/CC had tried to reach the developer for a period of time (more than 6 months) however there were no responses from the developer. Therefore the committee reached the conclusion that it is reasonable and appropriate to judge the developer is unreachable.

    - The developer's contact information was not found online. Thus JPCERT/CC contacted Vector where the product was distributed on its website, and it was found that Vector was unable to reach the developer (September 28, 2015)
    - No response to disclosure of the developer's name (listed on March 25, 2016) in "List of unreachable developers" on JVN
    - No response to disclosure of the product name and its version (listed on June 24, 2016) in "Information Request" on JVN

  2. Existence of vulnerability has been verified:
    It was verified that the product contains a cross-site scripting vulnerability by IPA.  Arbitrary script execution on the administrator's web browser was confirmed which violates the "Integrity" of the product.  For verification details, refer to the “Verification” section.

  3. Not disclosing this case may result in the risk that product users will have no means to know of the existence of the vulnerability in the product:
    Mitigations for this vulnerability are yet undisclosed by the developer, and it is unable to confirm the developer's grasp of all users of the product.
    It was determined that disclosure of this vulnerability is legitimate under these conditions.

  4. There are no particular reasons that would make disclosure inappropriate:
    After considering the developer’s stance and the risk to product users, the committee has judged that there are no particular reasons that would make disclosure inappropriate or that disclosure may cause any other issues.

Vulnerability Analysis by JPCERT/CC

CVSS v3 CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Base Score: 6.1
Attack Vector(AV) Physical (P) Local (L) Adjacent (A) Network (N)
Attack Complexity(AC) High (H) Low (L)
Privileges Required(PR) High (H) Low (L) None (N)
User Interaction(UI) Required (R) None (N)
Scope(S) Unchanged (U) Changed (C)
Confidentiality Impact(C) None (N) Low (L) High (H)
Integrity Impact(I) None (N) Low (L) High (H)
Availability Impact(A) None (N) Low (L) High (H)
CVSS v2 AV:N/AC:L/Au:N/C:N/I:P/A:N
Base Score: 5.0
Access Vector(AV) Local (L) Adjacent Network (A) Network (N)
Access Complexity(AC) High (H) Medium (M) Low (L)
Authentication(Au) Multiple (M) Single (S) None (N)
Confidentiality Impact(C) None (N) Partial (P) Complete (C)
Integrity Impact(I) None (N) Partial (P) Complete (C)
Availability Impact(A) None (N) Partial (P) Complete (C)

Verification

Validation Information
The vulnerability was reported to IPA and its existence was confirmed by IPA.

Date of validation
・August 9, 2019

Validation environment (Server, Client, Product version 1.04)
・Microsoft Windows 10 Pro (64-bit) 1903/18362.267
・Apache 2.4.16
・PHP 5.6.11
・mailform 1.04
・Microsoft Edge 44.18362.267.0
・Mozilla Firefox 70.0(64bit)

Validation result
・The reproducibility confirmed on the web browsers specified below
    Microsoft Edge 44.18362.267.0
    Mozilla Firefox 70.0(64bit)

Credit

Other Information

JPCERT Alert
JPCERT Reports
CERT Advisory
CPNI Advisory
TRnotes
CVE CVE-2020-5552
JVN iPedia JVNDB-2020-000900