{"exploit":{"id":"EDB-18688","name":"EMC Data Protection Advisor 5.8.1 - Denial of Service (DoS)","description":"EMC Data Protection Advisor 5.8.1 - Denial of Service (DoS)","cves":["CVE-2012-0407","CVE-2012-0406"],"author":"Luigi Auriemma","published":"2012-03-31","platform":"hardware","type":"dos","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/18688","path":"exploits/hardware/dos/18688.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-18688.txt","vulnerabilities":[{"id":"CVE-2012-0407","state":"PUBLISHED","title":null,"titleSource":null,"description":"Integer overflow in the DPA_Utilities library in EMC Data Protection Advisor (DPA) 5.5 through 5.8 SP1 allows remote attackers to cause a denial of service (infinite loop) via a negative 64-bit value in a certain size field.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2012-0407","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2012-0407"},"updatedAt":"2024-08-06T18:23:31.050Z","retrievedAt":"2026-11-27T18:12:25.396Z","stale":false,"error":null},{"id":"CVE-2012-0406","state":"PUBLISHED","title":null,"titleSource":null,"description":"The DPA_Utilities.cProcessAuthenticationData function in EMC Data Protection Advisor (DPA) 5.5 through 5.8 SP1 allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via an AUTHENTICATECONNECTION command that (1) lacks a password field or (2) has an empty password.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2012-0406","cvss":{"version":"2.0","baseScore":7.8,"severity":"high","vectorString":"AV:N/AC:L/Au:N/C:N/I:N/A:C","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2012-0406"},"updatedAt":"2024-08-06T18:23:30.990Z","retrievedAt":"2026-11-27T18:12:18.876Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-18688.png?v=2","url":"https://exploitbin.com/exploits/EDB-18688","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-18688/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-18688/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"#######################################################################\n\n                             Luigi Auriemma\n\nApplication:  EMC Data Protection Advisor\n              http://www.emc.com/backup-and-recovery/data-protection-advisor/data-protection-advisor.htm\nVersions:     <= 5.8.1\nPlatforms:    AIX, HP-UX, Linux, Solaris, Windows\nBugs:         A] cProcessAuthenticationData NULL pointer\n              B] thread CPU 100%\nExploitation: remote\nDate:         29 Mar 2012\nAuthor:       Luigi Auriemma\n              e-mail: aluigi@autistici.org\n              web:    aluigi.org\n\n\n#######################################################################\n\n\n1) Introduction\n2) Bugs\n3) The Code\n4) Fix\n\n\n#######################################################################\n\n===============\n1) Introduction\n===============\n\n\nFrom vendor's homepage:\n\"EMC Data Protection Advisor: Manage service levels, reduce complexity,\nand eliminate manual efforts with EMC’s powerful data protection\nmanagement software that automates monitoring, analysis, alerting, and\nreporting across backup, replication, and virtual environments.\"\n\n\n#######################################################################\n\n=======\n2) Bugs\n=======\n\n------------------------------------------\nA] cProcessAuthenticationData NULL pointer\n------------------------------------------\n\nThe missing password field or an empty password in the\nAUTHENTICATECONNECTION command required to login leads to a NULL\npointer dereference in the DPA_Utilities.cProcessAuthenticationData\nfunction:\n\n  10042EA0  /$ 55             PUSH EBP\n  10042EA1  |. 8BEC           MOV EBP,ESP\n  10042EA3  |. 83EC 0C        SUB ESP,0C\n  10042EA6  |. A1 B04F0C10    MOV EAX,DWORD PTR DS:[100C4FB0]\n  10042EAB  |. 33C5           XOR EAX,EBP\n  10042EAD  |. 8945 FC        MOV DWORD PTR SS:[EBP-4],EAX\n  10042EB0  |. 53             PUSH EBX\n  10042EB1  |. 56             PUSH ESI\n  10042EB2  |. 8BF1           MOV ESI,ECX\n  10042EB4  |. 57             PUSH EDI\n  10042EB5  |. 56             PUSH ESI\n  10042EB6  |. E8 93E3FBFF    CALL DPA_Util.decodeString\n  10042EBB  |. 8BC8           MOV ECX,EAX\n  10042EBD  |. 83C4 08        ADD ESP,8\n  10042EC0  |. 8D59 01        LEA EBX,DWORD PTR DS:[ECX+1]\n  10042EC3  |> 8A11           /MOV DL,BYTE PTR DS:[ECX]     ; strlen() NULL pointer\n  10042EC5  |. 83C1 01        |ADD ECX,1\n  10042EC8  |. 84D2           |TEST DL,DL\n  10042ECA  |.^75 F7          \\JNZ SHORT DPA_Util.10042EC3\n\n\n------------------\nB] thread CPU 100%\n------------------\n\nEndless loop in the DPA_Utilities library while handling the protocol\nif it's used a negative 64bit size field:\n\n  100138FC   > 3BF1           CMP ESI,ECX\n  100138FE   . 75 0C          JNZ SHORT DPA_Util.1001390C\n  10013900   . 8B55 E4        MOV EDX,DWORD PTR SS:[EBP-1C]\n  10013903   . 0B55 E8        OR EDX,DWORD PTR SS:[EBP-18]\n  10013906   . 0F84 C1020000  JE DPA_Util.10013BCD\n  1001390C   > 2975 DC        SUB DWORD PTR SS:[EBP-24],ESI\n  1001390F   . 68 20870910    PUSH DPA_Util.10098720        ; \"nsReadRequest\"\n  ...\n  100137F0   > 8B7D 08        MOV EDI,DWORD PTR SS:[EBP+8]\n  100137F3   > 8B75 E4        MOV ESI,DWORD PTR SS:[EBP-1C]\n  100137F6   > 837D E8 00     CMP DWORD PTR SS:[EBP-18],0   ; signed comparison\n  100137FA   . 7F 4A          JG SHORT DPA_Util.10013846\n  100137FC   . 7C 04          JL SHORT DPA_Util.10013802\n  100137FE   . 85F6           TEST ESI,ESI\n  10013800   . 77 44          JA SHORT DPA_Util.10013846\n  10013802   > 837D E0 00     CMP DWORD PTR SS:[EBP-20],0   ; signed comparison\n  10013806   . 0F8C 0B040000  JL DPA_Util.10013C17\n  1001380C   . 7F 0A          JG SHORT DPA_Util.10013818\n  1001380E   . 837D DC 00     CMP DWORD PTR SS:[EBP-24],0\n  10013812   . 0F86 FF030000  JBE DPA_Util.10013C17\n  10013818   > BF 1B700910    MOV EDI,DPA_Util.1009701B\n  1001381D   . 33F6           XOR ESI,ESI\n  1001381F   > 33C9           XOR ECX,ECX\n  10013821   . 894D F4        MOV DWORD PTR SS:[EBP-C],ECX\n  10013824   . 894D F0        MOV DWORD PTR SS:[EBP-10],ECX\n  10013827   . 390B           CMP DWORD PTR DS:[EBX],ECX\n  10013829   . 894D F8        MOV DWORD PTR SS:[EBP-8],ECX\n  1001382C   . 894D EC        MOV DWORD PTR SS:[EBP-14],ECX\n  1001382F   . 0F84 C7000000  JE DPA_Util.100138FC\n\nNote that this loop doesn't affect the working of the other connections\nto the affected service.\n\n\nBoth the bugs can be exploited in the following services:\n- DPA_Controller on port 3916\n- DPA_Listener   on port 4001\n\n\n#######################################################################\n\n===========\n3) The Code\n===========\n\n\nA]\nhttp://aluigi.org/poc/dpa_1.zip\n\n  dpa_1 SERVER\n\nB]\nhttp://aluigi.org/testz/udpsz.zip\n\n  udpsz -c \"18446744073709551615/1/UNB\" -T SERVER 3916 -1\n\n\n#######################################################################\n\n======\n4) Fix\n======\n\n\nNo fix.\n\n\n#######################################################################","sha256":"771c6cfbdde786196f6bdc14e3eec780ce09022125a3398ed05f2bad9e794fc3","bytes":4901,"fetchedAt":"2026-11-27T18:12:18.677Z","encoding":"utf-8 (display only; download retains original bytes)"}