[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[FD] Handy Password 4.9.3 Buffer Overflow



=====[ Tempest Security Intelligence - ADV-12/2018 ]===
 
  Handy Password 4.9.3 Buffer Overflow
  -------------------------------------------------------
  Author(s):
    - Filipe Xavier Oliveira: filipe.xavier () tempest.com.br
    - Tempest Security Intelligence - Recife, Pernambuco - Brazil

=====[ Table of Contents
]=====================================================
 
  * Overview 
  * Detailed description 
  * Aggravating factors    
  * Timeline of disclosure   
  * Thanks & Acknowledgements 
  * References

=====[ Overview
]==============================================================
 
 * System affected  : Handy Password
 * Software Version : 4.9.3
                      Other versions or models may also be affected.
 * Impact           : A user may be affected by opening a malicious
database file, through a long "Title name" or remotely using the "Open
from mail box" functionality.

=====[ Detailed description
]==================================================

A buffer overflow in Handy Password 4.9.3 allows remote attackers to
execute arbitrary code via a long "Title name" field in "mail box" data
that is mishandled in an "Open from mail box" action.
The following information regards the state of the CPU and stack at the
moment of the crash:

(488.9b8): Access violation - code c0000005 (!!! second chance !!!)
eax=0014d078 ebx=41414141 ecx=41414141 edx=00000000 esi=0014d078
edi=00000000
eip=773870f4 esp=0014d014 ebp=0014d064 iopl=0         nv up ei pl nz na
po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000            
efl=00000202

FAULTING_IP:
unknown!noop+0
41414141 ??              ???
EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 41414141
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000001
NumberParameters: 1
   Parameter[0]: 00000008

=====[ Aggravating factors
]===================================================

It's possible to trigger the buffer overflow remotely if the user open a
malicious data base file through the "Open from mail box" function. In
this case an attacker can execute arbitrary code remotely.

=====[ Timeline of disclosure 
]===============================================

10/19/2017 - Vulnerability reported. Vendor did not respond.
11/06/2017 - Tried to contact vendor again without success.
12/28/2017 - Advisory publication date.
12/28/2017 - CVE assigned [1]

=====[ Thanks & Acknowledgements
]============================================
 
  - Tempest Security Intelligence / Tempest's Pentest Team [2]
  - Breno Cunha     < brenodario () gmail.com >
  - Henrique Arcoverde < henrique.arcoverde () tempest.com.br
  - Leandro Rocha <leandro.rocha () tempest.com.br> [3]
  - Carlos Cabral <carlos.cabral () tempest.com.br> [3]

=====[ References
]===========================================================
 
[1] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17946
[2] https://www.tempest.com.br
[3]
https://sidechannel.tempestsi.com/password-manager-flaw-allows-for-arbitrary-command-execution-b6bb273206b1
                 



-- 
Filipe Oliveira
Tempest Security Intelligence

=====[ Tempest Security Intelligence - ADV-12/2018 ]===
 
  Handy Password 4.9.3 Buffer Overflow
  -------------------------------------------------------
  Author(s):
        - Filipe Xavier Oliveira: filipe.xavier () tempest.com.br
        - Tempest Security Intelligence - Recife, Pernambuco - Brazil

=====[ Table of Contents ]=====================================================
  
  * Overview  
  * Detailed description  
  * Aggravating factors     
  * Timeline of disclosure    
  * Thanks & Acknowledgements  
  * References

=====[ Overview ]==============================================================
 
 * System affected  : Handy Password
 * Software Version : 4.9.3
                      Other versions or models may also be affected.
 * Impact           : A user may be affected by opening a malicious database 
file, through a long "Title name" or remotely using the "Open from mail box" 
functionality.

=====[ Detailed description ]==================================================

A buffer overflow in Handy Password 4.9.3 allows remote attackers to execute 
arbitrary code via a long "Title name" field in "mail box" data that is 
mishandled in an "Open from mail box" action.
The following information regards the state of the CPU and stack at the moment 
of the crash:

(488.9b8): Access violation - code c0000005 (!!! second chance !!!)
eax=0014d078 ebx=41414141 ecx=41414141 edx=00000000 esi=0014d078 edi=00000000
eip=773870f4 esp=0014d014 ebp=0014d064 iopl=0         nv up ei pl nz na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202

FAULTING_IP: 
unknown!noop+0
41414141 ??              ???
EXCEPTION_RECORD:  (.exr -1)
ExceptionAddress: 41414141
   ExceptionCode: c0000005 (Access violation)
  ExceptionFlags: 00000001
NumberParameters: 1
   Parameter[0]: 00000008

=====[ Aggravating factors ]===================================================

It's possible to trigger the buffer overflow remotely if the user open a 
malicious data base file through the "Open from mail box" function. In this 
case an attacker can execute arbitrary code remotely.

=====[ Timeline of disclosure  ]===============================================

10/19/2017 - Vulnerability reported. Vendor did not respond.
11/06/2017 - Tried to contact vendor again without success.
12/28/2017 - Advisory publication date.
12/28/2017 - CVE assigned [1]

=====[ Thanks & Acknowledgements ]============================================
 
  - Tempest Security Intelligence / Tempest's Pentest Team [2]
  - Breno Cunha     < brenodario () gmail.com >
  - Henrique Arcoverde < henrique.arcoverde () tempest.com.br
  - Leandro Rocha <leandro.rocha () tempest.com.br> [3]
  - Carlos Cabral <carlos.cabral () tempest.com.br> [3]

=====[ References ]===========================================================
 
[1] https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-17946
[2] https://www.tempest.com.br
[3] 
https://sidechannel.tempestsi.com/password-manager-flaw-allows-for-arbitrary-command-execution-b6bb273206b1
                  

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
Sent through the Full Disclosure mailing list
https://nmap.org/mailman/listinfo/fulldisclosure
Web Archives & RSS: http://seclists.org/fulldisclosure/