Sårbarheter

CVE-2025-46820

Høy 7.1 CVSS 3.1

Beskrivelse

phpgt/Dom provides access to modern DOM APIs. Versions of phpgt/Dom prior to 4.1.8 expose the GITHUB_TOKEN in the Dom workflow run artifact. The ci.yml workflow file uses actions/upload-artifact@v4 to upload the build artifact. This artifact is a zip of the current directory, which includes the automatically generated .git/config file containing the run's GITHUB_TOKEN. Seeing as the artifact can be downloaded prior to the end of the workflow, there is a few seconds where an attacker can extract the token from the artifact and use it with the GitHub API to push malicious code or rewrite release commits in your repository. Any downstream user of the repository may be affected, but the token should only be valid for the duration of the workflow run, limiting the time during which exploitation could occur. Version 4.1.8 fixes the issue.

Beskrivelsen gjengis slik kilden har publisert den, på engelsk.

Nøkkelfakta

Publisert
2025-05-06
Sist endret
2026-06-17
Tildelt av
security-advisories@github.com
CVSS-vektor
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H
Scoret av
security-advisories@github.com
Sannsynlighet for utnyttelse
0.2 % høyere enn 7 % av alle kjente sårbarheter
EPSS, neste 30 dager, modell v2026.06.15
Rettelse finnes
Ikke registrert hos kildene

Berørte produkter

Leverandør Produkt Versjoner Status
phpgt Dom < 4.1.8 Berørt

Svakhetstype

Angrepsteknikker

Utledet gjennom svakhetstypen: CVE til CWE til CAPEC til ATT&CK. Dette viser hvilke teknikker svakhetsklassen historisk brukes til. Det er ikke en påstand om at nettopp denne sårbarheten er utnyttet slik.

  • T1005: Data from Local System collection
  • T1007: System Service Discovery discovery
  • T1016: System Network Configuration Discovery discovery
  • T1018: Remote System Discovery discovery
  • T1021: Remote Services lateral-movement
  • T1021.002: SMB/Windows Admin Shares lateral-movement
  • T1033: System Owner/User Discovery discovery
  • T1036.005: Match Legitimate Resource Name or Location stealth
  • T1046: Network Service Discovery discovery
  • T1049: System Network Connections Discovery discovery
  • T1057: Process Discovery discovery
  • T1069: Permission Groups Discovery discovery
  • T1078: Valid Accounts stealth, persistence, privilege-escalation, initial-access
  • T1082: System Information Discovery discovery
  • T1083: File and Directory Discovery discovery
  • T1087: Account Discovery discovery
  • T1110.004: Credential Stuffing credential-access
  • T1111: Multi-Factor Authentication Interception credential-access
  • T1114.002: Remote Email Collection collection
  • T1120: Peripheral Device Discovery discovery

Referanser

Berører dette dere?

En sårbarhet betyr bare noe hvis dere kjører produktet, i en berørt versjon, et sted en angriper kommer til.

Sjekk aktivalisten deres Bla i alle sårbarheter