Skip to content

templated/CVE-2026-41176 - #268

Open
dyeddala wants to merge 1 commit into
google:mainfrom
dyeddala:rclone/CVE-2026-41176
Open

dyeddala wants to merge 1 commit into
google:mainfrom
dyeddala:rclone/CVE-2026-41176

Conversation

@dyeddala

@dyeddala dyeddala commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Please review.

@robert-doyensec robert-doyensec left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isolating the vulnerability to version change only. The patch makes it so that authentication must be configured or explicitly disabled to reach the endpoint that disables auth.

Comment thread rclone/CVE-2026-41176/Dockerfile Outdated
WORKDIR /data
EXPOSE 5573

CMD ["rcd", "--rc-addr=0.0.0.0:5573", "--rc-user", "admin", "--rc-pass", "SecurePassword123!"]

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
CMD ["rcd", "--rc-addr=0.0.0.0:5573", "--rc-user", "admin", "--rc-pass", "SecurePassword123!"]
CMD ["rcd", "--rc-addr=0.0.0.0:5573"]

Comment thread rclone/CVE-2026-41176/README.md Outdated
-H "Content-Type: application/json" \
-d '{}'
```
**Expected Response**: `HTTP/1.1 401 Unauthorized`.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Expected Response**: `HTTP/1.1 401 Unauthorized`.
**Expected Response**: `HTTP/1.1 403 Forbidden` with error `"authentication must be set up on the rc server to use \"config/listremotes\" or the --rc-no-auth flag must be in use"`.

Comment thread rclone/CVE-2026-41176/README.md Outdated
-H "Content-Type: application/json" \
-d '{"rc":{"NoAuth":true}}'
```
**Expected Response**: `HTTP/1.1 401 Unauthorized` (authentication required).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
**Expected Response**: `HTTP/1.1 401 Unauthorized` (authentication required).
**Expected Response**: `HTTP/1.1 403 Forbidden` with error `"authentication must be set up on the rc server to use \"options/set\" or the --rc-no-auth flag must be in use"`.

Comment thread rclone/CVE-2026-41176/README.md Outdated
Comment on lines +114 to +131
## Tsunami Scanner Verification

To scan using the Tsunami templated detector plugin:

1. Run the Tsunami runner script:
```bash
cd /usr/local/google/home/dyeddala/tsunami
./run_tsunami.sh
```

2. When prompted:
- `--detectors-include`: `RClone_CVE_2026_41176`
- `--port-ranges-target`: `5572,5573`

3. Verify results in `/tmp/tsunami-out.json`:
- Port `5572`: `VULNERABILITY_VERIFIED` (`CVE-2026-41176`)
- Port `5573`: Not flagged (patched)

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
## Tsunami Scanner Verification
To scan using the Tsunami templated detector plugin:
1. Run the Tsunami runner script:
```bash
cd /usr/local/google/home/dyeddala/tsunami
./run_tsunami.sh
```
2. When prompted:
- `--detectors-include`: `RClone_CVE_2026_41176`
- `--port-ranges-target`: `5572,5573`
3. Verify results in `/tmp/tsunami-out.json`:
- Port `5572`: `VULNERABILITY_VERIFIED` (`CVE-2026-41176`)
- Port `5573`: Not flagged (patched)

Comment thread rclone/CVE-2026-41176/README.md Outdated

The testbed uses Docker Compose to deploy two instances:
- **Vulnerable instance (`rclone_vulnerable`)**: Rclone `v1.73.4` running on port `5572`.
- **Patched / Safe instance (`rclone_patched`)**: Rclone `v1.73.5` running on port `5573` with authentication configured.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- **Patched / Safe instance (`rclone_patched`)**: Rclone `v1.73.5` running on port `5573` with authentication configured.
- **Patched / Safe instance (`rclone_patched`)**: Rclone `v1.73.5` running on port `5573`.

@dyeddala
dyeddala force-pushed the rclone/CVE-2026-41176 branch from 4b0a782 to 7b963b6 Compare October 11, 2026 15:13
@dyeddala

Copy link
Copy Markdown
Contributor Author

Addressed.As per the comment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants