-
claudiu.cristea →
committed ad284d49 on 4.0.x
Issue #3254783 by claudiu.cristea, alex.skrypnyk, DamienMcKenna, cilefen...
-
claudiu.cristea →
committed ad284d49 on 4.0.x
Note: This report has been initially published in the Security Team space but it has been decided to be made public.
The module has a security vulnerability. It saves sensitive data in the database, more specifically, the $_SERVER
content. Users able to access the database dumps are able to read PLAIN sensitive data stored in environment variables (which are listed in $_SERVER
). Many systems are storing sensitive data, such as credential, tokens, internal URLs, etc. in environment variables. This is an industry standard. Such value should not land neither in code, nor in database. They are environment specific.
You can see this vulnerability by:
entity_legal_document_acceptance
table, column data
You can find the $_SERVER
global var content, including PLAIN sensitive data as environment variables.
Relevant code:
Drupal 8/9: https://git.drupalcode.org/project/entity_legal/-/blob/3.0.x/src/Entity/...
Drupal 7: https://git.drupalcode.org/project/entity_legal/-/blob/7.x-2.x/entity_le...
Needs work
2.0
Code
After being applied to the 8.x branch, it should be considered for backport to the 7.x branch. Note: This tag should generally remain even after the backport has been written, approved, and committed.
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
Issue #3254783 by claudiu.cristea, alex.skrypnyk, DamienMcKenna, cilefen...