CVE-2015-10012 (published 2023-01-03T09:15Z)

** UNSUPPORTED WHEN ASSIGNED ** A vulnerability was found in sumocoders FrameworkUserBundle up to 1.3.x. It has been rated as problematic. Affected by this issue is some unknown functionality of the file Resources/views/Security/login.html.twig. The manipulation leads to information exposure through error message. Upgrading to version 1.4.0 is able to address this issue. The name of the patch is abe4993390ba9bd7821ab12678270556645f94c8. It is recommended to upgrade the affected component. The identifier of this vulnerability is VDB-217268. NOTE: This vulnerability only affects products that are no longer supported by the maintainer.

CVSS v3 base score: 7.5, HIGH (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N)

Weakness information:
cwe_id: CWE-209
cwe_name: Generation of Error Message Containing Sensitive Information
description: The product generates an error message that includes sensitive information about its environment, users, or associated data.
extended_description: The sensitive information may be valuable information on its own (such as a password), or it may be useful for launching other, more serious attacks. The error message may be created in different ways:
           
             self-generated: the source code explicitly constructs the error message and delivers it
	     externally-generated: the external environment, such as a language interpreter, handles the error and constructs its own message, whose contents are not under direct control by the programmer
	   
	 An attacker may use the contents of error messages to help launch another, more focused attack. For example, an attempt to exploit a path traversal weakness (CWE-22) might yield the full pathname of the installed application. In turn, this could be used to select the proper number of ".." sequences to navigate to the targeted file. An attack using SQL injection (CWE-89) might not initially succeed, but an error message could reveal the malformed query, which would expose query logic and possibly even passwords or other sensitive information used within the query.
         

Fix information:
repo_url: https://github.com/sumocoders/FrameworkUserBundle
commit_details: repo_url: https://github.com/sumocoders/FrameworkUserBundle
author: woutersioen
author_date: 2015-06-22 16:32:19+02:00
msg: Make sure we don't get a doctrine error message.

The old exception message gave us a lot of info about our application.
This could help a user find out we're running Symfony and find possible
exploits. This commit will hide the message behind a translated version
of the message of the exception.
repository: repo_url: https://github.com/sumocoders/FrameworkUserBundle
repo_name: sumocoders/FrameworkUserBundle
description: THIS REPO IS NOT MAINTAINED ANYMORE, USE sumocoders/FrameworkMultiUserBundle.
repo_language: PHP
owner: sumocoders
file_changes: filename: login.html.twig
change_type: ModificationType.MODIFY
diff: @@ -13,7 +13,7 @@
 
         {% if error %}
             <div class="alert alert-info">
-                {{ error|trans }}
+                {{ error.messageKey|trans(error.messageData, 'security') }}
             </div>
         {% endif %}
 

programming_language: HTML