Hello Toolforge users,

TLDR: The Tools Platform team found and patched two security
vulnerabilities within Toolforge services. We believe it is very unlikely
that these vulnerabilities were identified or exploited before they were
patched. However, maintainers who would like to take an additional
precaution may choose to rotate their tools' credentials.

We have recently found two vulnerabilities within the Toolforge
components-api:

- The first one allowed any tool to retrieve another tool's deploy token
from the bastion - this would allow a person who is not a maintainer of the
second tool to trigger deployments (not change configuration, or see any
logs).

- The second one allowed any tool to access jobs-api, components-api, and
logs-api of another tool by using a custom url (passing
tool/mytool/../othertool/) - this one could have led to leakage of secrets
(by running a job that showed the environment variables, and/or home
directory files, either in the logs, or sending them remotely to a
receiving site or similar).

Both vulnerabilities are described here [0] and have been patched
accordingly. We're now focused on follow-up actions and improvements to the
platform monitoring.

While we cannot completely rule out prior exploitation, we consider it very
unlikely. We do not believe credential rotation is necessary for all tools,
but maintainers who have concerns may choose to rotate their credentials as
an additional precaution. [1]

If you have any follow up questions or concerns, please do not hesitate to
reach out. [2]

[0] https://phabricator.wikimedia.org/T440849

[1] https://wikitech.wikimedia.org/wiki/News/2026_Rotating_Credentials

[2] https://wikitech.wikimedia.org/wiki/Help:Cloud_Services_communication

-- 
Seyram Komla Sapaty
Developer Advocate
Wikimedia Cloud Services
_______________________________________________
Cloud-announce mailing list -- [email protected]
List information: 
https://lists.wikimedia.org/postorius/lists/cloud-announce.lists.wikimedia.org/

Reply via email to