{"exploit":{"id":"EDB-41578","name":"dnaLIMS DNA Sequencing - Directory Traversal / Session Hijacking / Cross-Site Scripting (XSS)","description":"dnaLIMS DNA Sequencing - Directory Traversal / Session Hijacking / Cross-Site Scripting (XSS)","cves":["CVE-2017-6529","CVE-2017-6528","CVE-2017-6527","CVE-2017-6526"],"author":"Shorebreak Security","published":"2017-03-10","platform":"cgi","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/41578","path":"exploits/cgi/webapps/41578.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-41578.txt","vulnerabilities":[{"id":"CVE-2017-6529","state":"PUBLISHED","title":null,"titleSource":null,"description":"An issue was discovered in dnaTools dnaLIMS 4-2015s13. dnaLIMS is vulnerable to session hijacking by guessing the UID parameter.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2017-6529","cvss":{"version":"3.0","baseScore":8.8,"severity":"high","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2017-6529"},"updatedAt":"2024-08-05T15:33:20.423Z","retrievedAt":"2026-11-27T01:12:20.554Z","stale":false,"error":null},{"id":"CVE-2017-6528","state":"PUBLISHED","title":null,"titleSource":null,"description":"An issue was discovered in dnaTools dnaLIMS 4-2015s13. dnaLIMS is affected by plaintext password storage (the /home/dna/spool/.pfile file).","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2017-6528","cvss":null,"updatedAt":"2024-08-05T15:33:19.718Z","retrievedAt":"2026-11-27T01:25:35.306Z","stale":false,"error":"Some CVE details could not be refreshed"},{"id":"CVE-2017-6527","state":"PUBLISHED","title":null,"titleSource":null,"description":"An issue was discovered in dnaTools dnaLIMS 4-2015s13. dnaLIMS is vulnerable to a NUL-terminated directory traversal attack allowing an unauthenticated attacker to access system files readable by the web server user (by using the viewAppletFsa.cgi seqID parameter).","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2017-6527","cvss":{"version":"3.0","baseScore":7.5,"severity":"high","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2017-6527"},"updatedAt":"2024-08-05T15:33:19.065Z","retrievedAt":"2026-11-27T01:25:38.418Z","stale":false,"error":null},{"id":"CVE-2017-6526","state":"PUBLISHED","title":null,"titleSource":null,"description":"An issue was discovered in dnaTools dnaLIMS 4-2015s13. dnaLIMS is vulnerable to unauthenticated command execution through an improperly protected administrative web shell (cgi-bin/dna/sysAdmin.cgi POST requests).","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2017-6526","cvss":{"version":"3.0","baseScore":9.8,"severity":"critical","vectorString":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2017-6526"},"updatedAt":"2024-08-05T15:33:19.831Z","retrievedAt":"2026-11-26T22:01:37.131Z","stale":false,"error":null}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-41578.png?v=2","url":"https://exploitbin.com/exploits/EDB-41578","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-41578/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-41578/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":"Title: Multiple vulnerabilities discovered in dnaLIMS DNA sequencing\nweb-application\nAdvisory URL: https://www.shorebreaksecurity.com/blog/product-security-advisory-psa0002-dnalims/\nDate published: Mar 08, 2017\nVendor: dnaTools, Inc.\nCVE IDs: [2017-6526, 2017-6527, 2017-6528, 2017-6529]\nUSCERT VU: 929263\n\nVulnerability Summaries\n1) Improperly protected web shell [CVE-2017-6526]\ndnaLIMS requires authentication to view cgi-bin/dna/sysAdmin.cgi, which is\na web shell included with the software running as the web user.  However,\nsending a POST request to that page bypasses authentication checks,\nincluding the UID parameter within the POST request.\n\n2) Unauthenticated Directory Traversal [CVE-2017-6527]\nThe viewAppletFsa.cgi seqID parameter is vulnerable to a null terminated\ndirectory traversal attack. This allows an unauthenticated attacker to\nretrieve files on the operating system accessible by the permissions of the\nweb server. This page also does not require authentication, allowing any\nperson on the Internet to exploit this vulnerability.\n\n3) Insecure Password Storage  [CVE-2017-6528]\nAn option, which is most likely the default, allows the password file\n(/home/dna/spool/.pfile) to store clear text passwords.  When combined with\nthe unauthenticated directory traversal vulnerability, it is possible to\ngain the username and password for all users of the software and gain\ncomplete control of the software.\n\n4) Session Hijacking [CVE-2017-6529]\nEach user of the dnaLIMS software is assigned a unique four-digit user\nidentification number(UID) upon account creation.  These numbers appear to\nbe assigned sequentially. Multiple pages of the dnaLIMS application require\nthat this UID be passed as a URL parameter in order to view the content of\nthe page.\nConsider the following example:\nThe URL ahttp://<SERVER NAME\nREDACTED>/cgi-bin/dna/seqreq2N.cgi?username=61685578,2410a is a valid URL\nto view the page for sequencing requests for the user with the UID of 2410. The\nusername parameter of the URL is the mechanism for authentication to the\nsystem. The first eight-digit number of the username parameter appears to\nbe a session identifier as it changes every time the user logs in from the\npassword.cgi page, however this value is not checked by the seqreq2N.cgi\npage. This allows an attacker to guess the four-digit UID of valid user\naccounts that have an active session. The user with the UID of 2419\ncurrently has an active session, so we can simply hijack this useras\nsession by requesting this page and specifying the UID 2419.\n\n5) Cross-site Scripting\nThe seqID parameter of the viewAppletFsa.cgi page is vulnerable to a\nreflected cross site scripting attack via GET request as seen in the\nfollowing URL:\nhttp://<SERVER NAME REDACTED>/cgi-bin/dna/viewAppletFsa.cgi?seqID=7415-7<SCRIPT\nAlert(\"XSS\") </SCRIPT>\n\n6) Cross-site Scripting\nThe navUserName parameter of the seqTable*.cgi page is vulnerable to a\nreflected cross site scripting attack via POST request as seen in the\nexample below. The * reflects a short name for a client, (ie Shorebreak\nSecurity may be seqTableSS.cgi or seqTableshorebreak.cgi) and may not be\nvulnerable for all dnaLIMS installs.\n\n7) Improperly Protected Content\n\nMany of the pages within the admin interface are not properly protected\nfrom viewing by authenticated users.  This can give an attacker additional\nsystem information about the system, or change system/software\nconfiguration.\n\nSoftware was conducted on a live production system, therefore the pages\nthemselves were tested, forms within these pages were not.\n\nThis is also not an exhaustive list of improperly protected pages:\n\ncgi-bin/dna/configuration.cgi\n\ncgi-bin/dna/createCoInfo.cgi\n\ncgi-bin/dna/configSystem.cgi\n\ncgi-bin/dna/combineAcctsN.cgi\n\nDisclosure Timeline\n\nThu, Nov 10, 2016 at 4:25 PM: Reached out to vendor requesting PGP key to\nsecurely exchange details of vulnerabilities identified\n\nThu, Nov 10, 2016 at 4:55 PM: Vendor requests report be physically mailed\nto PO box via Postal Service\n\nWed, Nov 16, 2016, at 11:14 AM: Report mailed to vendor via USPS Certified\nMail\n\nThu, Dec 8, 2016, at 10:43 AM: Request Vendor acknowledge receipt of the\nreport\n\nThu, Dec 8, 2016, at 12:53 PM: Vendor acknowledges receiptI3/4 suggests\nplacing the software behind a firewall as a solution to the vulnerabilities.\n\nThu, Dec 8, 2016, at 1:54 PM: Reply that the offered solution mitigates\nsome risk, but does not address the vulnerabilitiesI3/4 inquire if there is a\nplan to address the vulnerabilities\n\nThu, Dec 8, 2016, at 3:13 PM: Vendor replies aa|Yes, we have a plan. Please\ngather a DNA sequence, PO Number, or Fund Number and go to your local\ngrocery store and see what it will buy you.a\n\nTue, Feb 28, 2017, at 1:15 PM: Vulnerabilities disclosed to US-CERT\n\nTue, Mar 7, 2017, at 8:19 AM: Vulnerabilities submitted to MITRE for CVE\nassignment\n\nWed, Mar 8, 2017, at 12:00 PM: Vulnerabilities disclosed publicly","sha256":"535f68ce6be0ae7d10615d5b0dfb784aa5ebf90a880997ee1b404794e7477a0e","bytes":4926,"fetchedAt":"2026-11-27T01:12:15.448Z","encoding":"utf-8 (display only; download retains original bytes)"}