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.

Known false positives

  • Vulnerability Scanners

MITRE ATT&CK coverage

TacticTechniques
Initial Access

Rule body

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

These rows show field, operator, and value matches.

FieldKindValuesSearch
cs-methodeq
  • POST
field:"cs-method" kind:eq value:"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
field:"cs-uri-query" kind:match