CVE-2020-18701: Incorrect Access Control in Lin-CMS-Flask v0.1.1

lin-cms Updated 02 Oct 2025

Summary

16/08/2021
No i
Unrated
Not published

CVE-2020-18701: Incorrect Access Control in Lin-CMS-Flask v0.1.1 allows remote attackers to obtain sensitive information and/or gain privileges due to the application not invalidating a user's authentication token upon logout, which all... Affects lin-cms versions 0.1.1a1 – 0.4.9. No fix is published. 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 Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

Background

Lin-CMS is a Python package available on PyPI that provides a content management system (CMS) framework built with Flask. It allows developers to create and manage web applications with ease. Lin-CMS-Flask v0.1.1 is a specific version of Lin-CMS that is vulnerable to an incorrect access control issue.

Vulnerability Detail

The vulnerability in Lin-CMS-Flask v0.1.1 arises from the application's failure to invalidate a user's authentication token upon logout. This oversight enables remote attackers to obtain sensitive information and/or gain unauthorized privileges by replaying packets. By exploiting this vulnerability, an attacker could potentially access restricted resources or perform actions on behalf of other users.

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. Scan free →

Workaround

As a temporary workaround, developers can manually implement a token invalidation mechanism upon user logout. This can be achieved by modifying the Lin-CMS-Flask codebase to ensure that authentication tokens are invalidated and no longer accepted after a user logs out. Here's an example of how this can be done in Python:

# Add the following code in the logout route of your Lin-CMS-Flask application

@app.route('/logout', methods=['POST'])
def logout():
    # Invalidate the user's authentication token
    current_user.token = None
    db.session.commit()
    return 'Logged out successfully'

Conclusion

In conclusion, Lin-CMS-Flask v0.1.1 is vulnerable to an incorrect access control issue that allows remote attackers to obtain sensitive information and gain unauthorized privileges. It is crucial to update to a secure version of Lin-CMS-Flask or apply the recommended workaround to mitigate this vulnerability. For further support on vulnerability remediation, you can reach out to DevNack.com.

See every vulnerability recorded for lin-cms →

Share this vulnerability

FAQ

Lin-CMS is a content management system (CMS) framework built with Flask, a Python web framework. It provides developers with tools and features to create and manage web applications efficiently.

This vulnerability allows remote attackers to obtain sensitive information and gain unauthorized privileges in Lin-CMS-Flask v0.1.1. They can replay packets to bypass access controls, potentially accessing restricted resources or performing actions on behalf of other users.

To fix this vulnerability, update your Lin-CMS-Flask dependency to a version that addresses the issue. Check for any available patches or newer versions released by the Lin-CMS maintainers.

As a temporary workaround, you can manually implement a token invalidation mechanism upon user logout. Modify the Lin-CMS-Flask codebase to ensure that authentication tokens are invalidated and no longer accepted after a user logs out.

You can find more information about Lin-CMS on its official website or the project's GitHub repository. Refer to the Lin-CMS documentation for detailed usage instructions and best practices.

Related vulnerabilities

Recent vulnerabilities recorded for lin-cms.

Sponsored Lume, the Habilume companion Habilume Habit tracker with a companion that grows with you Complete habits, earn Lume Points, and watch your Lume grow as you stay consistent. App Store Google Play

How To Fix

No fixed version is published for this vulnerability.

Tip — Not sure whether your app is affected? Vulert can check the versions your app actually runs. 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