GithubHelp home page GithubHelp logo

maccmspro / maccms10 Goto Github PK

View Code? Open in Web Editor NEW
646.0 646.0 126.0 4.51 MB

苹果cms-v10,maccms-v10,麦克cms,开源cms,内容管理系统,视频分享程序,分集剧情程序,网址导航程序,文章程序,漫画程序,图片程序

License: Apache License 2.0

PHP 56.03% HTML 25.96% CSS 8.14% JavaScript 9.25% PLpgSQL 0.07% Smarty 0.55%

maccms10's Introduction

苹果cms-v8

苹果CMS程序是一套采用PHP+MYSQL环境下运行的完善而强大的快速建站系统。经过近多年的开发经验和技术积累,苹果CMS程序已逐步走向成熟,在易用性和功能上已经成为同行中的佼佼者。程序体积小->优化程序代码,运行速度快->高效的缓存处理,只要普通的虚拟主机就可以完美搭建起来,建站成本非常低。仿MVC模板分离,内置标签,自定义函数标签接口,强大的自定义采集功能,只要你会HTML就可以轻松做出个性化的网站。 程序易用性和功能上一直以来都积极采纳广大站长提出的各种好的建议,迅速响应各种紧急问题,我们的服务理念贯穿其中,保证每一位站长每一个环节都可以从容应对。v8采用自行开发的模板处理引擎,将后台程序与html模板简单的分离出来,让设计人员与程序人员最大限度的发挥自己的优势而互不干扰,大大加快了项目有序、快速的完成。即使您是第一次接触,也会在最短的时间内熟练掌握它的使用方法。后台管理模块,一目了然,操作简单,绝对不会让您眼花缭乱。

Apple CMS program is a set of PHP and MYSQL environment operating in a perfect and powerful fast station system. After nearly years of development experience and technology accumulation, Apple CMS program has gradually matured, in ease of use and functionality has become the leader in peers. The program size is small - > optimizer code, running fast - > efficient caching processing, as long as the ordinary virtual host can be perfectly built, the cost of building a station is very low. Imitation MVC template separation, built-in tags, custom function label interface, powerful custom acquisition function, as long as you will HTML can easily make personalized website. Program ease of use and function has been actively adopted by the vast number of station director put forward a variety of good suggestions, quickly respond to a variety of urgent issues, our service concept throughout it, to ensure that every station director every link can be calmly coped with. v8 using self-developed template processing engine, the background program and html template simple separation, so that designers and programmers to maximize their advantages without interference, greatly speed up the orderly and rapid completion of the project. Even if you are in first contact, you will master how to use it in the shortest possible time. Back-office management module, at a glance, easy to operate, will never dazzle you.

免责声明

本程序仅供内部学习和交流使用,没有内置任何数据,请在遵守当地法律的前提下使用本站程序,对用户在使用过程中的自行维护的信息内容本站不负任何责任!

This program is for internal learning and communication use only, there is no built-in data, please comply with local laws under the premise of using the site program, the user in the process of self-maintenance of the information content of this site is not responsible!

maccms10's People

Contributors

joyce2022 avatar maccmspro 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  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

maccms10's Issues

1

1

XSS

进入后台,点击基础-->友链管理-->添加,在名称处link_name[]插入payload:test”><img/src=1 onerror=alert(1)>
图片
点击保存,成功触发XSS,此外,该处也存在CSRF漏洞,可以结合CSRF漏洞进行利用
图片

专题影片数bug

$limit_str = ($limit * ($page-1) + $start) .",".$limit;
if($totalshow==1) {
$total = $this->where($where)->count();
}
$tmp = Db::name('Topic')->where($where)->order($order)->limit($limit_str)->select();
$list = [];
foreach($tmp as $k=>$v){
$list[$v['topic_id']] = $v;
}
return ['code'=>1,'msg'=>lang('data_list'),'page'=>$page,'pagecount'=>ceil($total/$limit),'limit'=>$limit,'total'=>$total,'list'=>$list];

vod_list数据来源topic_rel_vod+vod_tag,显示专题影片数时只处理了topic_rel_vod的数量,vod_tag的数量遗漏了

后台漏洞:可绕过登录直接进入管理后台

导读:利用登录逻辑漏洞,构造特定cookie,实现无需账号密码,直接进入管理后台

1. 查看后台登录验证的相关代码

/application/common/model/Admin.php 的 checkLogin() 函数

public function checkLogin()
{
    return ['code'=>1,'msg'=>'已登录','info'=>$info];
    $admin_id = cookie('admin_id');
    $admin_name = cookie('admin_name');
    $admin_check = cookie('admin_check');

    if(empty($admin_id) || empty($admin_name) || empty($admin_check)){
        return ['code'=>1001, 'msg'=>'未登录'];
    }

    $where = [];
    $where['admin_id'] = $admin_id;
    $where['admin_name'] = $admin_name;
    $where['admin_status'] =1 ;

    $info = $this->where($where)->find();
    if(empty($info)){
        return ['code'=>1002,'msg'=>'未登录'];
    }
    $info = $info->toArray();

    $login_check = md5($info['admin_random'] . $info['admin_name'] .$info['admin_id']) ;
    if($login_check != $admin_check){
        return ['code'=>1003,'msg'=>'未登录'];
    }
    return ['code'=>1,'msg'=>'已登录','info'=>$info];
}

2. 分析登录逻辑

看到代码为直接获取cookie中的信息来查询数据库,所以我们是不是构造cookie就可以完成登录了:

$admin_id = cookie('admin_id');
$admin_name = cookie('admin_name');
$admin_check = cookie('admin_check');

3. 构造cookie,进入后台

结合代码逻辑和tp框架的特性,我们构造一下cookie,就能完美绕过进入后台。

4. 演示:直接操作进入后台

打开网站后台地址,浏览器console 输入设置cookie代码:
xxx.com/admin.php
image
再次重新打开后台地址,将会直接进入
xxx.com/admin.php
image

存在XSS漏洞

image

输入框在客服邮箱 payload:

"><img/src=0 onerror=alert(1)>

可以配合csrf 拿管理员session

存在路径泄露漏洞

image

访问/vendor/topthink/think-queue/src/common.php 文件

会泄露后台路径
攻击者可以利用这个漏洞写webshell

maccms10 super console has a stored XSS vulnerability

After logging into the backend, click on "Add Article Data."
1710226896060
Add malicious code via hyperlink in the pagination content.
image
Proceed with saving and storing it on the server.
image
Exit by clicking on Edit, then click on 123 to trigger XSS.
image

谨防盗版程序和诈骗网站.la版本

后台服务器组中存在XSS漏洞

进入后台,点击视频-->服务器组-->添加,
在名称框插入payload1:<script>alert(1)</script>
在服务器组地址框插入payload2:<script>alert(2)</script>
在排序框插入payload3:<script>alert(3)</script>
在提示框插入payload4:<script>alert(4)</script>
image
点击保存,成功触发XSS漏洞
image

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.