Conversation
📗 Scan Summary
🚥 Policy Violations🚨 Security Violations
🔖 DetailsViolation DetailsPersistent session cookies in Flask can lead to data leakage or privilege escalation when the application is hosted behind a caching proxy. 🔬 JFrog Research DetailsDescription: The root cause of this issue is the absence of the To exploit this vulnerability, several specific conditions must be met:
Example of vulnerable code: from flask import Flask, session
app = Flask(__name__)
app.secret_key = 'your_secret_key'
@app.route('/')
def index():
session.permanent = True
# Other code logic...
return privateData(user)In this example, a Flask application is used, and the Remediation: Development mitigationsAdd a Development mitigationsDisable the |


No description provided.