[PR #2661] [MERGED] Make wget verify certificates #5237

Closed
opened 2026-10-31 20:45:38 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2661
Author: @sausagenoods
Created: 2/9/2025
Status: ✅ Merged
Merged: 2/22/2025
Merged by: @MHSanaei

Base: main ← Head: main


📝 Commits (1)

  • 1dd40d3 Make wget verify certificates

📊 Changes

1 file changed (+2 additions, -2 deletions)

View changed files

📝 x-ui.sh (+2 -2)

📄 Description

I don't know why --no-check-certificate was added to the wget commands in the first place. This option introduces a security vulnerability.

Without certificate validation in these update functions, users can be MITM'ed and served malicious binaries/scripts. There is no further integrity checking such as checksum comparisons later on too.

This PR makes wget verify certificates by removing the --no-check-certificate option.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/2661 **Author:** [@sausagenoods](https://github.com/sausagenoods) **Created:** 2/9/2025 **Status:** ✅ Merged **Merged:** 2/22/2025 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (1) - [`1dd40d3`](https://github.com/MHSanaei/3x-ui/commit/1dd40d3c689e7a79953939a60f98bf0e62550899) Make wget verify certificates ### 📊 Changes **1 file changed** (+2 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `x-ui.sh` (+2 -2) </details> ### 📄 Description I don't know why `--no-check-certificate` was added to the wget commands in the first place. This option introduces a security vulnerability. Without certificate validation in these update functions, users can be MITM'ed and served malicious binaries/scripts. There is no further integrity checking such as checksum comparisons later on too. This PR makes wget verify certificates by removing the `--no-check-certificate` option. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:45:38 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5237
No description provided.