一、 漏洞 CVE-2022-31159 基础信息
漏洞信息
                                        # com.amazonaws:aws-java-sdk-s3 中的部分路径穿越漏洞

N/A
                                        
提示
尽管我们采用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。
神龙会尽力确保数据准确,但也请结合实际情况进行甄别与判断。
神龙祝您一切顺利!
漏洞标题
Partial Path Traversal in com.amazonaws:aws-java-sdk-s3
来源:美国国家漏洞数据库 NVD
漏洞描述信息
The AWS SDK for Java enables Java developers to work with Amazon Web Services. A partial-path traversal issue exists within the `downloadDirectory` method in the AWS S3 TransferManager component of the AWS SDK for Java v1 prior to version 1.12.261. Applications using the SDK control the `destinationDirectory` argument, but S3 object keys are determined by the application that uploaded the objects. The `downloadDirectory` method allows the caller to pass a filesystem object in the object key but contained an issue in the validation logic for the key name. A knowledgeable actor could bypass the validation logic by including a UNIX double-dot in the bucket key. Under certain conditions, this could permit them to retrieve a directory from their S3 bucket that is one level up in the filesystem from their working directory. This issue’s scope is limited to directories whose name prefix matches the destinationDirectory. E.g. for destination directory`/tmp/foo`, the actor can cause a download to `/tmp/foo-bar`, but not `/tmp/bar`. If `com.amazonaws.services.s3.transfer.TransferManager::downloadDirectory` is used to download an untrusted buckets contents, the contents of that bucket can be written outside of the intended destination directory. Version 1.12.261 contains a patch for this issue. As a workaround, when calling `com.amazonaws.services.s3.transfer.TransferManager::downloadDirectory`, pass a `KeyFilter` that forbids `S3ObjectSummary` objects that `getKey` method return a string containing the substring `..` .
来源:美国国家漏洞数据库 NVD
CVSS信息
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L
来源:美国国家漏洞数据库 NVD
漏洞类别
对路径名的限制不恰当(路径遍历)
来源:美国国家漏洞数据库 NVD
漏洞标题
Amazon AWS SDK for Java 路径遍历漏洞
来源:中国国家信息安全漏洞库 CNNVD
漏洞描述信息
Amazon AWS SDK for Java是美国亚马逊(Amazon)公司的一款基于Java平台的用于Amazon Web Services(AWS)的软件开发工具包。。 AWS SDK for Java v1 1.12.261之前版本存在路径遍历漏洞,该漏洞源于AWS SDK for Java使Java开发人员能够使用Amazon Web Services。在AWS SDK for Java v1 1.12.261版本之前的AWS S3 TransferManager组件的“downloadDire
来源:中国国家信息安全漏洞库 CNNVD
CVSS信息
N/A
来源:中国国家信息安全漏洞库 CNNVD
漏洞类别
路径遍历
来源:中国国家信息安全漏洞库 CNNVD
二、漏洞 CVE-2022-31159 的公开POC
# POC 描述 源链接 神龙链接
1 None https://github.com/shoucheng3/aws__aws-sdk-java_CVE-2022-31159_1-12-260 POC详情
2 None https://github.com/shoucheng3/aws__aws-sdk-java_CVE-2022-31159_1-12-2600 POC详情
三、漏洞 CVE-2022-31159 的情报信息
四、漏洞 CVE-2022-31159 的评论

暂无评论


发表评论