Detection rules › Sigma

Potential CVE-2022-21587 Exploitation Attempt

Status
test
Severity
high
Log source
category webserver
Author
Isa Almannaei
Source
github.com/SigmaHQ/sigma

Detects potential exploitation attempts of CVE-2022-21587 an arbitrary file upload vulnerability impacting Oracle E-Business Suite (EBS). CVE-2022-21587 can lead to unauthenticated remote code execution.

MITRE ATT&CK coverage

TacticTechniques
Initial AccessT1190 Exploit Public-Facing Application

Rule body yaml

title: Potential CVE-2022-21587 Exploitation Attempt
id: d033cb8a-8669-4a8e-a974-48d4185a8503
status: test
description: Detects potential exploitation attempts of CVE-2022-21587 an arbitrary file upload vulnerability impacting Oracle E-Business Suite (EBS). CVE-2022-21587 can lead to unauthenticated remote code execution.
references:
    - https://www.rapid7.com/blog/post/2023/02/07/etr-cve-2022-21587-rapid7-observed-exploitation-of-oracle-e-business-suite-vulnerability/
    - https://attackerkb.com/topics/Bkij5kK1qK/cve-2022-21587/rapid7-analysis
    - https://github.com/hieuminhnv/CVE-2022-21587-POC
    - https://blog.viettelcybersecurity.com/cve-2022-21587-oracle-e-business-suite-unauth-rce/
author: Isa Almannaei
date: 2023-02-13
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2022-21587
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection:
        cs-method: 'POST'
        cs-uri-query|contains:
            - '/OA_HTML/BneViewerXMLService?bne:uueupload=TRUE'
            - '/OA_HTML/BneUploaderService?bne:uueupload=TRUE'
            - '/OA_HTML/BneDownloadService?bne:uueupload=TRUE'
            - '/OA_HTML/BneOfflineLOVService?bne:uueupload=TRUE'
    condition: selection
falsepositives:
    - Vulnerability Scanners
level: high

Stages and Predicates

Stage 0: condition

selection

Stage 1: selection

selection:
    cs-method: 'POST'
    cs-uri-query|contains:
        - '/OA_HTML/BneViewerXMLService?bne:uueupload=TRUE'
        - '/OA_HTML/BneUploaderService?bne:uueupload=TRUE'
        - '/OA_HTML/BneDownloadService?bne:uueupload=TRUE'
        - '/OA_HTML/BneOfflineLOVService?bne:uueupload=TRUE'

Indicators

Each row is a field, operator, and value that the rule matches. The corpus column counts how many other rules in the catalog look for the same combination: high numbers point to widely-used, community-vetted indicators. Blank or 1 shows that the indicator is specific to this rule.

FieldKindValues
cs-methodeq
  • POST
cs-uri-querymatch
  • /OA_HTML/BneDownloadService?bne:uueupload=TRUE
  • /OA_HTML/BneOfflineLOVService?bne:uueupload=TRUE
  • /OA_HTML/BneUploaderService?bne:uueupload=TRUE
  • /OA_HTML/BneViewerXMLService?bne:uueupload=TRUE