Weak Hashing Algorithm in PHP Censor

php-censor/php-censor Updated 02 Oct 2025

Summary

14/05/2024
Yes i
Moderate
6.5

CVE-2024-34914: PHP Censor uses a weak hashing algorithm for the remember me key. Affects php-censor/php-censor across 2 version ranges.

< 2.0.13 >= 2.1.0, < 2.1.5

Fixed in 2.0.13 or 2.1.5, depending on the release line you run. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

PHP Censor is an open-source continuous integration server that is used to automate the testing and building of PHP projects. It provides a web interface for managing projects, configuring build steps, and viewing build results. The remember me feature in PHP Censor allows users to stay logged in even after closing the browser. However, the implementation of the remember me key in versions 2.1.4 and below utilizes a weak hashing algorithm, making it susceptible to brute force attacks.

Vulnerability Detail

The vulnerability in PHP Censor arises from the use of a weak hashing algorithm for the remember_key value. This allows attackers to potentially guess or brute force the remember_key value, giving them unauthorized access to accounts that have checked the 'remember me' option during login. By gaining access to these accounts, attackers can perform various malicious actions, such as modifying project configurations, altering build results, or accessing sensitive information.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.0.13 2.0.13
    composer require php-censor/php-censor:2.0.13
  • >= 2.1.0, < 2.1.5 2.1.5
    composer require php-censor/php-censor:2.1.5

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Workaround

There is no specific workaround mentioned for this vulnerability. The recommended solution is to upgrade to the latest version of PHP Censor.

Conclusion

The weak hashing algorithm vulnerability in PHP Censor can potentially lead to unauthorized access and malicious actions. It is crucial to upgrade to the latest version (2.1.5 or later) to mitigate this vulnerability. For further support and assistance in vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for php-censor/php-censor →

Share this vulnerability

FAQ

PHP Censor is an open-source continuous integration server for PHP projects. It automates the testing and building of PHP projects and provides a web interface for managing projects and viewing build results.

The remember me feature in PHP Censor allows users to stay logged in even after closing the browser. It eliminates the need to enter login credentials every time the user accesses PHP Censor.

A weak hashing algorithm is one that can be easily reversed or brute forced. It does not provide sufficient protection against unauthorized access or tampering.

Attackers can exploit this vulnerability by guessing or brute forcing the remember_key value used in the remember me feature. If successful, they can gain unauthorized access to accounts and perform malicious actions.

You can use Vulert's playground (https://vulert.com/scanner) to check if your PHP Censor installation is affected by this vulnerability. Vulert monitors and alerts in real-time for open-source vulnerabilities, providing valuable insights without requiring access to the code or installation.

How To Fix

Fixed versions by release line

The minimum fixed version depends on the release line you run.

  • < 2.0.13 2.0.13
    composer require php-censor/php-censor:2.0.13
  • >= 2.1.0, < 2.1.5 2.1.5
    composer require php-censor/php-censor:2.1.5

Tip — Not sure which release line you're on? Vulert can find the fix for the version you are using. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback