Project

General

Profile

Actions

Improvement #2036

closed

xmera Omnia - Bug #2054: Bug fixing in DMS, Project Types, and Issue Sync

Information disclosure of database request details

Added by liaham about 1 year ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
Due date:
% Done:

100%

Estimated time:
Compatible Redmine Version:

Description

When executing https://domain.tld/preview/text?text=%0A%0A%0A{{dmsf(%27)}}& the system leaks information about database requests:

Fehler bei der Ausführung des Makros dmsf (Couldn't find DmsfFile with 'id'=' [WHERE `dmsf_files`.`deleted` = ?])

When executing https://domain.tld/preview/text?text=%0A%0A%0A{{dmsff(%27)}}& the system leaks even more information about database requests:

Fehler bei der Ausführung des Makros dmsff (Couldn't find DmsfFolder with 'id'=1000 [WHERE `dmsf_folders`.`deleted` = ? AND (projects.status <> 9 AND projects.status <> 10 AND EXISTS (SELECT 1 AS one FROM enabled_modules em WHERE em.project_id = projects.id AND em.name='dmsf'))])

You could hide this information by raising not ActiveRecord::RecordNotFound with its detailed information attached but raising a String like l(:notice_record_not_found) or something more specific to the underlying object.

This vulnerability has no probability to be used and no estimated risk according to our pentest report.


Related issues 1 (0 open1 closed)

Is duplicate of Redmine DMSF - Improvement #1809: How to communicate permission problems with macrosClosedliaham

Actions
Actions #1

Updated by liaham about 1 year ago

  • Related to Improvement #1809: How to communicate permission problems with macros added
Actions #2

Updated by liaham about 1 year ago

  • Related to deleted (Improvement #1809: How to communicate permission problems with macros)
Actions #3

Updated by liaham about 1 year ago

  • Is duplicate of Improvement #1809: How to communicate permission problems with macros added
Actions #4

Updated by liaham about 1 year ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by liaham about 1 year ago

  • Tracker changed from Feature to Improvement
Actions #6

Updated by liaham about 1 year ago

  • Parent task set to #2054
Actions #7

Updated by liaham about 1 year ago

  • Target version changed from unreleased to 3.1.4-xmr
Actions

Also available in: Atom PDF