CVE-2021-47157

The Kossy module before 0.60 for Perl allows JSON hijacking because of X-Requested-With mishandling

Critical · published March 18, 2024

CVSS v3.1
9.8
EPSS
0%
Percentile
34.5
In the wild
Unconfirmed
What it is

🔥 JSON hijacking made mind-blowingly simple in Kossy! An attacker can exploit a mishandled X-Requested-With header to take control of your JSON data. ⚡ Think of it like a mailroom that delivers packages based on a poorly checked delivery request. If the mailroom accepts just any request without verifying who it's from, anyone could snag sensitive documents without a trace! This vulnerability allows an attacker to intercept and manipulate JSON responses, leading to potential data exposure or unauthorized actions within your application. Imagine a hacker accessing confidential user data or creating unauthorized transactions — absolutely devastating!

Put simply

Think of it like a mailroom that delivers packages based on a poorly checked delivery request. If the mailroom accepts just any request without verifying who it's from, anyone could snag sensitive documents without a trace! The Kossy module for Perl mishandles the X-Requested-With header, allowing attackers to hijack JSON responses by not properly verifying the legitimacy of requests. This means they can exploit your application as if they were a trusted user.

What to do

This vulnerability allows an attacker to intercept and manipulate JSON responses, leading to potential data exposure or unauthorized actions within your application. Imagine a hacker accessing confidential user data or creating unauthorized transactions — absolutely devastating! Update the Kossy module to version 0.60 or later immediately to patch this issue. Additionally, audit your application's handling of the X-Requested-With header to ensure it’s fortified against unauthorized access. Don't wait — this needs attention now! You've got this! Follow these steps, and you'll secure your application in no time. 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00413 · 34.5th percentile
Published
2024-03-18T00:00Z
EPSS history
Timeline
  • 18 MAR 00:00Z
    The Kossy module before 0.60 for Perl allows JSON hijacking because of X-Requested-With mishandling
    cvelistv5