ghsa-9449-rphm-mjqr
Vulnerability from github
Published
2025-12-11 17:01
Modified
2025-12-12 16:11
Summary
AzuraCast Vulnerable to Pre-Auth File Deletion & Admin RCE
Details

An API endpoint that is intended for internal use by the SFTP software sftpgo was mistakenly exposed to the public-facing HTTP API for AzuraCast installations.

This would allow a user with specific internal knowledge of a station's operations to craft a custom HTTP request that would affect the contents of a station's database, without revealing any internal information about the station.

With a request like:

curl -s -X POST "http://localhost/api/internal/sftp-event" -H "Content-Type: application/json" -d '{ "action": "pre-delete", "username": "admin", "path": "/var/azuracast/stations/test/media/test.mp3" }'

A remote user could simulate a request from sftpgo informing the software that a file was about to be deleted from the path given. In anticipation of this, AzuraCast would delete the corresponding database record for that file. While AzuraCast would then later discover on its own that the file actually exists and recreate the media record, it would not have the same playlist associations or custom metadata as the previous instance of the media record in the database.

Some mitigating factors affecting the severity of this issue include: - A user would need to know a valid SFTP username corresponding to the specific station in question. - A user would need to know the internal filesystem structure of a station (or be able to brute-force or guess paths). - Any call to this internal API endpoint does not return any information to the calling process about what files are present or aren't, so no confidential internal information is revealed by this process.

Patched versions of AzuraCast specifically check that any calls to this internal URL are being called by the internal HTTP service, which only listens for activity on localhost and is not accessible from outside the container.

Show details on source website


{
  "affected": [
    {
      "database_specific": {
        "last_known_affected_version_range": "\u003c= 0.23.1"
      },
      "package": {
        "ecosystem": "Packagist",
        "name": "azuracast/azuracast"
      },
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "0.23.2"
            }
          ],
          "type": "ECOSYSTEM"
        }
      ]
    }
  ],
  "aliases": [
    "CVE-2025-67737"
  ],
  "database_specific": {
    "cwe_ids": [
      "CWE-862"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2025-12-11T17:01:13Z",
    "nvd_published_at": "2025-12-12T07:15:45Z",
    "severity": "LOW"
  },
  "details": "An API endpoint that is intended for internal use by the SFTP software `sftpgo` was mistakenly exposed to the public-facing HTTP API for AzuraCast installations.\n\nThis would allow a user with specific internal knowledge of a station\u0027s operations to craft a custom HTTP request that would affect the contents of a station\u0027s database, without revealing any internal information about the station.\n\nWith a request like:\n\n```\ncurl -s -X POST \"http://localhost/api/internal/sftp-event\"   -H \"Content-Type: application/json\"   -d \u0027{\n    \"action\": \"pre-delete\",\n    \"username\": \"admin\",\n    \"path\": \"/var/azuracast/stations/test/media/test.mp3\"\n}\u0027\n```\n\nA remote user could simulate a request from `sftpgo` informing the software that a file was about to be deleted from the path given. In anticipation of this, AzuraCast would delete the corresponding database record for that file. While AzuraCast would then later discover on its own that the file actually exists and recreate the media record, it would not have the same playlist associations or custom metadata as the previous instance of the media record in the database.\n\nSome mitigating factors affecting the severity of this issue include:\n - A user would need to know a valid SFTP username corresponding to the specific station in question.\n - A user would need to know the internal filesystem structure of a station (or be able to brute-force or guess paths).\n - Any call to this internal API endpoint does not return any information to the calling process about what files are present or aren\u0027t, so no confidential internal information is revealed by this process.\n \nPatched versions of AzuraCast specifically check that any calls to this internal URL are being called by the internal HTTP service, which only listens for activity on `localhost` and is not accessible from outside the container.",
  "id": "GHSA-9449-rphm-mjqr",
  "modified": "2025-12-12T16:11:59Z",
  "published": "2025-12-11T17:01:13Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://github.com/AzuraCast/AzuraCast/security/advisories/GHSA-9449-rphm-mjqr"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-67737"
    },
    {
      "type": "WEB",
      "url": "https://github.com/AzuraCast/AzuraCast/commit/34620dbad93f6cd8e209a4220e3e53c7c5fea844"
    },
    {
      "type": "PACKAGE",
      "url": "https://github.com/AzuraCast/AzuraCast"
    }
  ],
  "schema_version": "1.4.0",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "AzuraCast Vulnerable to Pre-Auth File Deletion \u0026 Admin RCE"
}


Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Sightings

Author Source Type Date

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
  • Confirmed: The vulnerability is confirmed from an analyst perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
  • Patched: This vulnerability was successfully patched by the user reporting the sighting.
  • Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
  • Not confirmed: The user expresses doubt about the veracity of the vulnerability.
  • Not patched: This vulnerability was not successfully patched by the user reporting the sighting.


Loading…

Loading…