CVE-2022-4725: Server-Side Request Forgery (SSRF) in AWS SDK

Summary

27/12/2022
Yes i
Critical
9.8

CVE-2022-4725: AWS SDK is vulnerable to server-side request forgery (SSRF). Affects com.amazonaws:aws-android-sdk-mobile-client versions < 2.59.1. Fixed in 2.59.1. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The AWS SDK is a comprehensive library that provides developers with the necessary tools and resources to interact with various Amazon Web Services (AWS) APIs. It offers a wide range of functionalities, including authentication, data storage, and serverless computing. The AWS SDK for Android specifically caters to mobile app development on the Android platform. However, version 2.59.0 of the AWS SDK for Android is vulnerable to server-side request forgery (SSRF).

Vulnerability Detail

The vulnerability resides in the XpathUtils function of the XML Parser component in the AWS SDK version 2.59.0. This flaw allows an attacker to manipulate XML parsing operations, leading to server-side request forgery. By exploiting this vulnerability, an attacker can make unauthorized requests to internal resources, potentially bypassing security measures and gaining access to sensitive information or executing arbitrary code. The severity of this vulnerability is rated as critical with a CVSS score of 9.8.

How To Fix

Minimum fixed version

2.59.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. It is crucial to apply the recommended fix by upgrading to version 2.59.1 of the AWS SDK for Android.

Conclusion

In conclusion, the AWS SDK version 2.59.0 for Android is vulnerable to server-side request forgery (SSRF). Upgrading to version 2.59.1 and applying the provided patch is crucial to mitigate this critical vulnerability. For further support and assistance in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for com.amazonaws:aws-android-sdk-mobile-client →

Share this vulnerability

FAQ

The AWS SDK is a library that enables developers to interact with various Amazon Web Services APIs, providing functionalities such as authentication, data storage, and serverless computing.

Server-side request forgery (SSRF) is a vulnerability that allows an attacker to make unauthorized requests to internal resources by manipulating the server's request mechanism.

This vulnerability can lead to unauthorized access to internal resources, potential data breaches, and the execution of arbitrary code.

The CVSS score of this vulnerability is 9.8, indicating its critical severity.

To fix this vulnerability, it is recommended to upgrade the affected component to version 2.59.1 of the AWS SDK for Android.

How To Fix

Minimum fixed version

2.59.1

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback