A critical deserialization vulnerability exists in Tendenci Helpdesk module (NOTE, by default, Helpdesk is NOT enabled), affecting the version 15.3.11 and earlier. This vulnerability allows remote code execution (RCE) by an authenticated user with staff security level due to using Python's pickle module on the helpdesk /reports/. The damage is contained to the user that your Tendenci application runs.
Key Finding: The original CVE-2020-14942 was incompletely patched. While ticket_list() was fixed to use safe JSON deserialization, the run_report() function still uses unsafe pickle.loads().
Permission Scoping: The impact is limited to the permissions of the user running the application, typically www-data, which generally lacks write (except for upload directories) and execute permissions.
Vulnerability Details
Affected Version
- Version: Tendenci 15.3.11 and earlier (all versions since incomplete CVE-2020-14942 patch)
- Component:
tendenci/apps/helpdesk/views/staff.py
Related CVE
Tendenci User Role Hierarchy
| Level |
Role |
Description |
| 0 |
is_superuser |
Highest privilege - full Django admin |
| 1 |
is_staff |
user with Staff security level - can access helpdesk module |
| 2 |
Authenticated User |
Basic user access |
| 3 |
Anonymous User |
Public read-only access |
is_staff is a commonly assigned role (by a superuser) for helpdesk operators who manage support tickets - not system administrators.
Code Comparison (Patched vs Vulnerable)
| Function |
Line |
Deserialization |
Status |
ticket_list() |
763 |
simplejson.loads() |
✅ SAFE |
run_report() |
1062 |
pickle.loads() |
❌ VULNERABLE |
Why This Qualifies for CVE Assignment
This vulnerability represents an incomplete patch bypass for CVE-2020-14942 with a clear exploitation path. The flaw allows a malicious user with Staff security level to achieve Remote Code Execution via Python's pickle.loads. Though the damage is contained to the user that your Tendenci application runs.
Remediation
Update Tendenci to the latest version (v15.3.12 as of now) immediately if you have Helpdesk enabled. Note that Helpdesk is not enabled by default. All of our hosted sites have been patched, although none of our client sites have the Helpdesk enabled.
References
References
A critical deserialization vulnerability exists in Tendenci Helpdesk module (NOTE, by default, Helpdesk is NOT enabled), affecting the version 15.3.11 and earlier. This vulnerability allows remote code execution (RCE) by an authenticated user with staff security level due to using Python's pickle module on the helpdesk /reports/. The damage is contained to the user that your Tendenci application runs.
Key Finding: The original CVE-2020-14942 was incompletely patched. While
ticket_list()was fixed to use safe JSON deserialization, therun_report()function still uses unsafepickle.loads().Permission Scoping: The impact is limited to the permissions of the user running the application, typically www-data, which generally lacks write (except for upload directories) and execute permissions.
Vulnerability Details
Affected Version
tendenci/apps/helpdesk/views/staff.pyRelated CVE
Tendenci User Role Hierarchy
is_superuseris_staffis_staffis a commonly assigned role (by a superuser) for helpdesk operators who manage support tickets - not system administrators.Code Comparison (Patched vs Vulnerable)
ticket_list()simplejson.loads()run_report()pickle.loads()Why This Qualifies for CVE Assignment
This vulnerability represents an incomplete patch bypass for CVE-2020-14942 with a clear exploitation path. The flaw allows a malicious user with Staff security level to achieve Remote Code Execution via Python's pickle.loads. Though the damage is contained to the user that your Tendenci application runs.
Remediation
Update Tendenci to the latest version (v15.3.12 as of now) immediately if you have Helpdesk enabled. Note that Helpdesk is not enabled by default. All of our hosted sites have been patched, although none of our client sites have the Helpdesk enabled.
References
References