CCSA for upload2shell #346
@@ -0,0 +1,50 @@
|
||||
title: Upload2Shell ImageMagick/GhostScript Vulnerability
|
||||
subtitle: CCSA-20261124-01
|
||||
|
||||
*Coop Cloud Security Advisory 20261124-01*
|
||||
|
||||
|
||||
??? danger "Recipe known to be affected >"
|
||||
|
||||
| Recipe | Update Status | Notes |
|
||||
| --- | --- | --- |
|
||||
| [loomio](https://git.coopcloud.tech/coop-cloud/loomio.git) | Pending | |
|
||||
| [wallabag](https://git.coopcloud.tech/coop-cloud/wallabag.git) | Investigating | |
|
||||
| [discourse](https://git.coopcloud.tech/coop-cloud/discourse.git) | Investigating | |
|
||||
| [4get](https://git.coopcloud.tech/coop-cloud/4get.git) | Investigating | |
|
||||
| [invoiceninja](https://git.coopcloud.tech/coop-cloud/invoiceninja.git) | Investigating | |
|
||||
| [calibre-web](https://git.coopcloud.tech/coop-cloud/calibre-web.git) | Investigating | |
|
||||
| [wordpress](https://git.coopcloud.tech/coop-cloud/wordpress.git) | Fixed ✅ | Upgrade to Co-op Cloud wordpress 4.2.0+7.1.4, or make sure you are already upgraded |
|
||||
| [photoprism](https://git.coopcloud.tech/coop-cloud/photoprism.git) | Investigating | |
|
||||
| [n8n](https://git.coopcloud.tech/coop-cloud/n8n.git) | Investigating | |
|
||||
| [lemmy](https://git.coopcloud.tech/coop-cloud/lemmy.git) | Pending | |
|
||||
| [penpot](https://git.coopcloud.tech/coop-cloud/penpot.git) | Investigating | |
|
||||
|
||||
|
||||
## Check if your deployment is affected
|
||||
1. Review the affected recipes list above.
|
||||
2. For each app, run `abra app run <APP_DOMAIN> app -- gs --version` and make sure that the version is 10.08.0 or greater. The security fix has also been back ported on Debian.
|
||||
3. For Debian based systems with vulnerable ghostscript version, run `abra app run <APP_DOMAIN> app -- dpkg -l ghostscript` and compare to the [Debian advisory version](https://security-tracker.debian.org/tracker/CVE-2026-39919)
|
||||
|
||||
| Debian repository | Ghostscript version | status |
|
||||
|
hex marked this conversation as resolved
Outdated
|
||||
|---------------------------|------------------------|----------------|
|
||||
| bookworm | 10.0.0~dfsg-11+deb12u8 | :x: vulnerable |
|
||||
|
hex marked this conversation as resolved
Outdated
amras
commented
This table doesn't render correctly. In browser it looks like:
It's mising a header. Should be: This table doesn't render correctly. In browser it looks like:
` | bookworm (security) | 10.0.0~dfsg-11+deb12u9 | fixed | | trixie (security), trixie | 10.05.1~dfsg-1+deb13u3 | fixed | | forky, sid | 10.08.0~dfsg-2 | fixed |`
It's mising a header. Should be:
```
| Debian repository | ghostscript version | status |
| --- | --- | --- |
| bookworm ...
```
hex
commented
fixing fixing
|
||||
| bookworm (security) | 10.0.0~dfsg-11+deb12u9 | ✅ fixed |
|
||||
| trixie (security), trixie | 10.05.1~dfsg-1+deb13u3 | ✅ fixed |
|
||||
| forky, sid | 10.08.0~dfsg-2 | ✅ fixed |
|
||||
|
||||
<!-- ## Mitigation -->
|
||||
<!-- If upgrade is not possible, remove ghostscript from affected containers. -->
|
||||
|
||||
## Automated checking with `cc-runall`
|
||||
1. Download or `git clone` the [`cc-runall` script](https://git.coopcloud.tech/toolshed/cc-scripts/src/branch/main/cc-runall)
|
||||
2. Download `jq` (either through distribution repositories, or [from the same repo](https://git.coopcloud.tech/toolshed/cc-scripts/src/branch/main/bin/jq))
|
||||
3. `./cc-runall wordpress app "gs --version"`
|
||||
|
||||
<!-- ## Forensics -->
|
||||
|
||||
## Upstream Information
|
||||
|
||||
|
hex marked this conversation as resolved
amras
commented
These three links all render in one line. Options:
These three links all render in one line.
Options:
1. List:
```
- [CVE-2026...
- [Security ven...
- [Debian...
```
2. Blank lines:
```
[CVE-2026...
[Security ven...
[Debian...
```
hex
commented
fixing fixing
|
||||
- [CVE-2026-125396](https://www.cve.org/CVERecord?id=CVE-2026-125396)
|
||||
- [Security Vendor writeup](https://pwn.ai/upload2shell/research.html)
|
||||
- [Debian security advisory for CVE-2026-39919](https://security-tracker.debian.org/tracker/CVE-2026-39919)
|
||||
@@ -1,7 +1,8 @@
|
||||
|
||||
<!-- IMPORTANT:
|
||||
when creating a new advisory,
|
||||
1. Copy this file with the name: CCSA-[date]-[id].md
|
||||
- date is iso8601 as YYYYMMDD (eg 20261124 for 2026-11-24)
|
||||
- id is two digit sequential (with a leading zero if under 10)
|
||||
2. Add a new entry in the table of CCSAs in docs/operators/security/index.md
|
||||
3. Add a new entry in mkdocs.yml, located in the root of this repository
|
||||
4. Fill in whatever information you currently have and push as quickly as possible. Fill in additional instructions when you can.
|
||||
|
||||
@@ -22,5 +22,6 @@ Here's what's most important to know:
|
||||
| Advisory | Short Description | Status |
|
||||
| -------- | ----------------- | ------ |
|
||||
| [CCSA-20261021-01](CCSA-20261021-01.md) | PHP remote code execution | :lock: Closed |
|
||||
| [CCSA-20261124-01](CCSA-20261124-01.md) | upload2shell Image Processing Vulnerability | :fire: active |
|
||||
|
||||
|
||||
|
||||
+2
-1
@@ -81,10 +81,11 @@ nav:
|
||||
- "Operators":
|
||||
- operators/index.md
|
||||
- "New operators Tutorial": operators/tutorial.md
|
||||
- "Operators Handbook": operators/handbook.md
|
||||
- "Operators Handbook": operators/handbook.md
|
||||
- "Security Advisories":
|
||||
- operators/security/index.md
|
||||
- operators/security/CCSA-20261021-01.md
|
||||
- operators/security/CCSA-20261124-01.md
|
||||
- "Federation":
|
||||
- federation/index.md
|
||||
- "Bylaws": federation/bylaws.md
|
||||
|
||||
Reference in New Issue
Block a user
The tracker also lists bookworm / deb12u8 as "vulnerable". Should we include that too?
Good call. Adding.