# Major “Psychic Paper” Security Flaw Patched in Java

**URL:** https://scanalyst.fourmilab.ch/t/major-psychic-paper-security-flaw-patched-in-java/1228
**Category:** The Happening World
**Tags:** security, oracle, ecdsa, java
**Created:** [20 April 2022 14:10 UTC](https://scanalyst.fourmilab.ch/t/major-psychic-paper-security-flaw-patched-in-java/1228 "2022-04-20T14:10:56Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![johnwalker](https://scanalyst.fourmilab.ch/user_avatar/scanalyst.fourmilab.ch/johnwalker/32/17415_2.png) [@johnwalker](https://scanalyst.fourmilab.ch/u/johnwalker)
#### Post date: [20 April 2022 14:10 UTC](https://scanalyst.fourmilab.ch/t/major-psychic-paper-security-flaw-patched-in-java/1228/1 "2022-04-20T14:10:56Z")

</div>

Neil Madden reports, “[CVE-2022-21449: Psychic Signatures in Java](https://neilmadden.blog/2022/04/19/psychic-signatures-in-java/)”:

> The long-running BBC sci-fi show [_Doctor Who_](https://en.wikipedia.org/wiki/Doctor_Who) has a recurring plot device where the Doctor manages to get out of trouble by showing an identity card which is actually completely blank. Of course, this being Doctor Who, the card is really made out of a special “[psychic paper](https://tardis.fandom.com/wiki/Psychic_paper)“, which causes the person looking at it to see whatever the Doctor wants them to see: a security pass, a warrant, or whatever.

![](https://scanalyst.fourmilab.ch/uploads/default/original/2X/3/38bc300517cf4244e778055264bce287a53b6f41.jpeg)

> It turns out that some recent releases of Java were vulnerable to a similar kind of trick, in the implementation of widely-used [ECDSA](https://en.wikipedia.org/wiki/Elliptic_Curve_Digital_Signature_Algorithm) signatures. If you are running one of the vulnerable versions then an attacker can easily forge some types of SSL certificates and handshakes (allowing interception and modification of communications), [signed JWTs](https://jwt.io/), [SAML assertions](https://en.wikipedia.org/wiki/Security_Assertion_Markup_Language) or [OIDC id tokens](https://en.wikipedia.org/wiki/OpenID#OpenID_Connect_(OIDC)), and even [WebAuthn](https://webauthn.guide/) authentication messages. All using the digital equivalent of a blank piece of paper.
> 
> It’s hard to overstate the severity of this bug. If you are using ECDSA signatures for any of these security mechanisms, then an attacker can _trivially and completely bypass them_ if your server is running any Java 15, 16, 17, or 18 version before the [April 2022 Critical Patch Update (CPU)](https://www.oracle.com/security-alerts/cpuapr2022.html). For context, almost all WebAuthn/FIDO devices in the real world (including Yubikeys[\*](https://neilmadden.blog/2022/04/19/psychic-signatures-in-java/#footnote-1)) use ECDSA signatures and many OIDC providers use ECDSA-signed JWTs.

A detailed analysis of the flaw and how it might be exploited are in the linked post. The U.S. National Institute of Standards and Technology has posted [CVE-2022-21449](https://nvd.nist.gov/vuln/detail/CVE-2022-21449) in the National Vulnerability Database, rating its severity as “7.5, High”.

If your computer or network uses any software based on Java, be sure to install an update including the patch for this vulnerability.

---

<div class="post-metadata">

### Author: ![Pooky](https://scanalyst.fourmilab.ch/letter_avatar_proxy/v4/letter/p/a87d85/32.png) [@Pooky](https://scanalyst.fourmilab.ch/u/Pooky)
#### Post date: [20 April 2022 15:12 UTC](https://scanalyst.fourmilab.ch/t/major-psychic-paper-security-flaw-patched-in-java/1228/2 "2022-04-20T15:12:29Z")

</div>

I am not very sure, who still in IT world take this kind of security issue seriously.

Since the NSA backdoors in generating the RSA keys and also recently the SunBurst attack, I don’t see any “security” at all here. Either, the people have to remove the server from public network and secure it on local network or there is no “confidential” data. Also, when they can “hack” Defense Secretary of UK to tell secret military information to anyone over phone, it’s just joke. ([Full Video by Vovan and Lexus Pranking UK Secretary of State for Defence Ben Wallace Giving Strategic Information](https://odysee.com/@RaymondTheBrave:5/Full-Video-by-Vovan-and-Lexus-with-UK-Secretary-of-State-for-Defence-Ben-Wallace:a))

If someone want’s really secure their data, use old fashion way via external drivers, USB disks, DVDs and keep this stuff locked with secured access via physical security and normal keys.

> **[Five Things To Know About the Sunburst Hack](https://medium.com/technology-hits/five-things-to-know-about-the-sunburst-hack-58ae82eed783)**
>
> One of the most devastating cyberattacks in history has left us with a lot to think about.
