CVE-2020-26965 - Improper Removal of Sensitive Information Before Storage or Transfer

Severity

65%

Complexity

27%

Confidentiality

60%

CVSS 3.1 Base Score 6.5. CVSS Attack Vector: network. CVSS Attack Complexity: low. CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N).

CVSS 2.0 Base Score 4.3. CVSS Attack Vector: network. CVSS Attack Complexity: medium. CVSS Vector: (AV:N/AC:M/Au:N/C:P/I:N/A:N).

Demo Examples

Improper Removal of Sensitive Information Before Storage or Transfer

CWE-212

This code either generates a public HTML user information page or a JSON response containing the same user information.


               
}// API flag, output JSON if set
}
}
continue;// skip displaying user emails
writeToHtmlPage($fieldName,$fieldValue);
echo json_encode($record);

The programmer is careful to not display the user's e-mail address when displaying the public HTML page. However, the e-mail address is not removed from the JSON response, exposing the user's e-mail address.

Stay updated

ExploitPedia is constantly evolving. Sign up to receive a notification when we release additional functionality.

Get in touch

If you'd like to report a bug or have any suggestions for improvements then please do get in touch with us using this form. We will get back to you as soon as we can.