ovhcloud-backup-config: OVHcloud Backup Configuration - Exposure

日期: 2026-01-24 | 影响软件: OVHcloud Backup Config | POC: 已公开

漏洞描述

Detected exposed OVHcloud backup configuration files (ovh-backups.json) containing sensitive credentials such as OpenStack/Swift authentication details, API keys, and storage configuration.

PoC代码[已公开]

id: ovhcloud-backup-config

info:
  name: OVHcloud Backup Configuration - Exposure
  author: pussycat0x
  severity: high
  description: |
    Detected exposed OVHcloud backup configuration files (ovh-backups.json) containing sensitive credentials such as OpenStack/Swift authentication details, API keys, and storage configuration.
  reference:
    - https://docs.ovh.com/gb/en/storage/
    - https://docs.ovh.com/gb/en/public-cloud/access_and_security_in_horizon/
  metadata:
    max-request: 4
    verified: true
  tags: ovh,ovhcloud,backup,config,exposure,cloud,openstack

http:
  - method: GET
    path:
      - "{{BaseURL}}/ovh-backups.json"
      - "{{BaseURL}}/config/ovh-backups.json"
      - "{{BaseURL}}/backup/ovh-backups.json"
      - "{{BaseURL}}/storage/ovh-backups.json"

    stop-at-first-match: true

    matchers:
      - type: dsl
        dsl:
          - "status_code == 200"
          - "contains_all(body,'accessKey','secretKey')"
          - "contains(content_type,'application/json')"
        condition: and

    extractors:
      - type: regex
        name: accesskey
        part: body
        group: 1
        regex:
          - 'accessKey":"([0-9a-z ]+)'
        internal: true

      - type: regex
        name: secretkey
        part: body
        group: 1
        regex:
          - 'secretKey":"([a-z0-9]+)'
        internal: true

      - type: dsl
        dsl:
          - '"accessKey: " + accesskey + " secretKey: "+ secretkey'
# digest: 4b0a00483046022100e994864f97cb68a84359616bc8a653cbb4d7d34e578fa95917dd6f405b4a4b7b022100ba247b00cd5578643a1e52c468e1e94ad194b582200b613e5abf627b81a7cc12:922c64590222798bb761d5b6d8e72950

相关漏洞推荐