Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1000 CNY

100.0%

CVE-2020-23342 PoC — anchor CMS 跨站请求伪造漏洞

Source
Associated Vulnerability
Title:anchor CMS 跨站请求伪造漏洞 (CVE-2020-23342)
Description:Anchor是一套开源的轻量级博客系统。 anchorcms 0.12.7 存在跨站请求伪造漏洞,该漏洞源于anchor/views/users/edit.php可以更改删除管理用户。
Readme
# CVE-2020-23342
注意:

拉取此仓库在本地虚拟机中用docker运行时,config.py 第24行 host值注意修改为虚拟机ip。
File Snapshot

[4.0K] /data/pocs/ff98745f13460cc3ebed6521cf4f62d9354d1c46 ├── [4.0K] anchor-cms │   ├── [4.0K] anchor │   │   ├── [ 674] composer_check.php │   │   ├── [4.0K] config │   │   │   ├── [ 604] aliases.php │   │   │   ├── [ 598] error.php │   │   │   └── [ 132] migrations.php │   │   ├── [4.0K] functions │   │   │   ├── [7.8K] articles.php │   │   │   ├── [2.4K] categories.php │   │   │   ├── [4.1K] comments.php │   │   │   ├── [ 990] config.php │   │   │   ├── [3.3K] helpers.php │   │   │   ├── [7.0K] menus.php │   │   │   ├── [ 718] metadata.php │   │   │   ├── [3.6K] pages.php │   │   │   ├── [2.8K] posts.php │   │   │   ├── [4.6K] search.php │   │   │   └── [1.6K] users.php │   │   ├── [3.6K] helpers.php │   │   ├── [4.0K] language │   │   │   └── [4.0K] en_GB │   │   │   ├── [ 851] categories.php │   │   │   ├── [1.1K] comments.php │   │   │   ├── [2.9K] extend.php │   │   │   ├── [2.9K] global.php │   │   │   ├── [ 79] menu.php │   │   │   ├── [1.5K] metadata.php │   │   │   ├── [1.4K] pages.php │   │   │   ├── [ 400] panel.php │   │   │   ├── [1.5K] posts.php │   │   │   └── [2.1K] users.php │   │   ├── [4.0K] libraries │   │   │   ├── [4.7K] anchor.php │   │   │   ├── [2.3K] auth.php │   │   │   ├── [ 963] csrf.php │   │   │   ├── [1.1K] date.php │   │   │   ├── [1.4K] events.php │   │   │   ├── [ 13K] form.php │   │   │   ├── [ 719] hash.php │   │   │   ├── [3.3K] html.php │   │   │   ├── [ 12K] image.php │   │   │   ├── [1.4K] items.php │   │   │   ├── [1.7K] json.php │   │   │   ├── [2.0K] language.php │   │   │   ├── [2.5K] migration.php │   │   │   ├── [2.9K] migrations.php │   │   │   ├── [2.6K] notify.php │   │   │   ├── [4.9K] paginator.php │   │   │   ├── [ 35K] parsedown.php │   │   │   ├── [1.7K] registry.php │   │   │   ├── [ 658] response.php │   │   │   ├── [3.9K] rss.php │   │   │   ├── [2.4K] template.php │   │   │   ├── [2.6K] themes.php │   │   │   ├── [6.2K] update.php │   │   │   ├── [5.4K] uploader.php │   │   │   └── [4.7K] validator.php │   │   ├── [4.0K] migrations │   │   │   ├── [ 506] 10_add_comment_notifications.php │   │   │   ├── [ 379] 110_alter_session_date.php │   │   │   ├── [ 513] 11_add_comment_moderation_keys.php │   │   │   ├── [ 366] 120_add_page_parent.php │   │   │   ├── [ 374] 130_pages_show_in_menu.php │   │   │   ├── [ 377] 140_add_page_menu_order.php │   │   │   ├── [ 582] 160_resize_post_html.php │   │   │   ├── [ 658] 169_add_category_meta.php │   │   │   ├── [ 629] 170_add_category_cust_field.php │   │   │   ├── [ 607] 180_insert_meta_key.php │   │   │   ├── [ 801] 200_create_user_meta_table.php │   │   │   ├── [1.0K] 201_enable_pagetypes.php │   │   │   ├── [ 403] 20_alter_comments_status.php │   │   │   ├── [ 397] 210_fix_page_menu_order.php │   │   │   ├── [1.5K] 211_alter_post_page_content.php │   │   │   ├── [ 635] 212_insert_default_dashboard_meta_key.php │   │   │   ├── [2.1K] 213_add_updated_fields_to_tables.php │   │   │   ├── [ 394] 21_alter_comments_date.php │   │   │   ├── [ 643] 220_alter_meta_field.php │   │   │   ├── [ 613] 30_create_extend_table.php │   │   │   ├── [ 559] 40_create_page_meta_table.php │   │   │   ├── [ 559] 50_create_post_meta_table.php │   │   │   ├── [ 365] 60_drop_posts_custom_fields.php │   │   │   ├── [ 411] 61_alter_posts_created.php │   │   │   ├── [ 379] 62_add_posts_category.php │   │   │   ├── [ 526] 70_create_categories_table.php │   │   │   ├── [ 540] 71_insert_default_categories.php │   │   │   ├── [ 334] 80_drop_sessions_ip.php │   │   │   ├── [ 334] 81_drop_sessions_ua.php │   │   │   └── [ 391] 90_alter_users_password.php │   │   ├── [4.0K] models │   │   │   ├── [ 947] base.php │   │   │   ├── [1.3K] category.php │   │   │   ├── [3.6K] comment.php │   │   │   ├── [ 12K] extend.php │   │   │   ├── [4.0K] page.php │   │   │   ├── [5.3K] post.php │   │   │   └── [1.1K] user.php │   │   ├── [4.0K] routes │   │   │   ├── [8.2K] admin.php │   │   │   ├── [3.8K] categories.php │   │   │   ├── [4.2K] comments.php │   │   │   ├── [6.3K] fields.php │   │   │   ├── [ 871] menu.php │   │   │   ├── [2.5K] metadata.php │   │   │   ├── [9.5K] pages.php │   │   │   ├── [4.1K] pagetypes.php │   │   │   ├── [ 416] panel.php │   │   │   ├── [ 486] plugins.php │   │   │   ├── [ 10K] posts.php │   │   │   ├── [9.8K] site.php │   │   │   ├── [5.4K] users.php │   │   │   └── [4.4K] variables.php │   │   ├── [1.7K] run.php │   │   └── [4.0K] views │   │   ├── [4.0K] assets │   │   │   ├── [4.0K] css │   │   │   │   └── [ 15K] admin.min.css │   │   │   ├── [4.0K] img │   │   │   │   ├── [ 703] cloud.png │   │   │   │   ├── [ 143] cross.gif │   │   │   │   ├── [ 263] favicon.png │   │   │   │   ├── [4.0K] icons.png │   │   │   │   ├── [ 368] logo.png │   │   │   │   ├── [3.2K] piggy.gif │   │   │   │   ├── [ 788] statuses.png │   │   │   │   ├── [ 210] tick.gif │   │   │   │   └── [ 207] tick.png │   │   │   ├── [4.0K] js │   │   │   │   ├── [1.6K] autosave.js │   │   │   │   ├── [1.2K] change-saver.js │   │   │   │   ├── [ 674] custom-fields.js │   │   │   │   ├── [4.2K] dragdrop.js │   │   │   │   ├── [7.4K] editor.js │   │   │   │   ├── [1.1K] focus-mode.js │   │   │   │   ├── [181K] main.js │   │   │   │   ├── [123K] main.min.js │   │   │   │   ├── [ 348] page-name.js │   │   │   │   ├── [ 909] redirect.js │   │   │   │   ├── [7.0K] slug.js │   │   │   │   ├── [1.3K] sortable.js │   │   │   │   ├── [ 534] text-resize.js │   │   │   │   ├── [2.4K] upload-fields.js │   │   │   │   └── [ 23K] zepto.js │   │   │   └── [4.0K] scss │   │   │   ├── [ 516] admin.scss │   │   │   ├── [1.5K] _colors.scss │   │   │   ├── [4.0K] components │   │   │   │   ├── [1010] _buttons.scss │   │   │   │   ├── [4.0K] editor │   │   │   │   │   ├── [1.1K] _files.scss │   │   │   │   │   ├── [ 274] _half.scss │   │   │   │   │   ├── [ 443] _preview.scss │   │   │   │   │   ├── [ 319] _redirect.scss │   │   │   │   │   └── [2.1K] _split.scss │   │   │   │   ├── [1.0K] _editor.scss │   │   │   │   ├── [ 943] _fileUpload.scss │   │   │   │   ├── [ 260] _footer.scss │   │   │   │   ├── [1.9K] _forms.scss │   │   │   │   ├── [1.5K] _header.scss │   │   │   │   ├── [1.4K] _lists.scss │   │   │   │   ├── [1.0K] _notifications.scss │   │   │   │   ├── [ 281] _paging.scss │   │   │   │   ├── [2.2K] _panel.scss │   │   │   │   └── [2.0K] _sidebar.scss │   │   │   ├── [ 360] _components.scss │   │   │   ├── [ 389] _focusMode.scss │   │   │   ├── [ 527] _layout.scss │   │   │   ├── [1.0K] _login.scss │   │   │   ├── [4.0K] mixins │   │   │   │   ├── [ 860] _breakpoints.scss │   │   │   │   ├── [ 807] _brightness.scss │   │   │   │   └── [ 822] _contrast.scss │   │   │   ├── [ 629] _typography.scss │   │   │   └── [1.2K] _variables.scss │   │   ├── [4.0K] categories │   │   │   ├── [1.9K] add.php │   │   │   ├── [2.1K] edit.php │   │   │   └── [ 764] index.php │   │   ├── [4.0K] comments │   │   │   ├── [2.0K] edit.php │   │   │   └── [1.3K] index.php │   │   ├── [4.0K] error │   │   │   ├── [1.2K] 404.php │   │   │   └── [1.3K] 500.php │   │   ├── [4.0K] extend │   │   │   ├── [4.0K] fields │   │   │   │   ├── [3.6K] add.php │   │   │   │   ├── [4.3K] edit.php │   │   │   │   └── [1.0K] index.php │   │   │   ├── [1.1K] index.php │   │   │   ├── [4.0K] metadata │   │   │   │   └── [6.0K] edit.php │   │   │   ├── [4.0K] pagetypes │   │   │   │   ├── [1.1K] add.php │   │   │   │   ├── [1.4K] edit.php │   │   │   │   └── [ 864] index.php │   │   │   ├── [4.0K] plugins │   │   │   │   └── [ 214] index.php │   │   │   └── [4.0K] variables │   │   │   ├── [1.2K] add.php │   │   │   ├── [1.5K] edit.php │   │   │   └── [ 929] index.php │   │   ├── [1.8K] intro.php │   │   ├── [4.0K] menu │   │   │   └── [1.1K] index.php │   │   ├── [4.0K] pages │   │   │   ├── [4.9K] add.php │   │   │   ├── [5.3K] edit.php │   │   │   ├── [ 203] fields.php │   │   │   └── [2.3K] index.php │   │   ├── [ 413] panel.php │   │   ├── [4.0K] partials │   │   │   ├── [ 292] editor.php │   │   │   ├── [ 420] footer.php │   │   │   └── [2.3K] header.php │   │   ├── [4.0K] posts │   │   │   ├── [4.3K] add.php │   │   │   ├── [4.5K] edit.php │   │   │   └── [2.4K] index.php │   │   ├── [ 327] profile.php │   │   ├── [6.4K] upgrade.php │   │   └── [4.0K] users │   │   ├── [3.5K] add.php │   │   ├── [ 871] amnesia.php │   │   ├── [3.9K] edit.php │   │   ├── [ 865] index.php │   │   ├── [1.2K] login.php │   │   └── [ 623] reset.php │   ├── [4.0K] content │   │   └── [ 40] index.php │   ├── [1.5K] Dockerfile_no_use │   ├── [6.4K] gulpfile.js │   ├── [ 885] index.php │   ├── [4.0K] install │   │   ├── [4.0K] config │   │   │   ├── [ 644] aliases.php │   │   │   ├── [ 249] app.php │   │   │   ├── [ 18] database.php │   │   │   ├── [ 87] error.php │   │   │   ├── [ 324] session.php │   │   │   └── [3.9K] strings.php │   │   ├── [ 782] index.php │   │   ├── [4.0K] libraries │   │   │   ├── [1.4K] braces.php │   │   │   ├── [7.8K] installer.php │   │   │   └── [ 598] layout.php │   │   ├── [ 100] readme.md │   │   ├── [8.1K] routes.php │   │   ├── [5.3K] run.php │   │   ├── [4.0K] storage │   │   │   ├── [4.0K] anchor.sql │   │   │   ├── [ 202] application.distro.php │   │   │   ├── [ 430] database.distro.php │   │   │   ├── [ 855] htaccess.distro │   │   │   └── [ 316] session.distro.php │   │   └── [4.0K] views │   │   ├── [1.3K] account.php │   │   ├── [4.0K] assets │   │   │   ├── [4.0K] css │   │   │   │   ├── [ 13K] chosen.css │   │   │   │   └── [4.3K] install.css │   │   │   ├── [4.0K] img │   │   │   │   ├── [ 738] chosen-sprite@2x.png │   │   │   │   ├── [ 538] chosen-sprite.png │   │   │   │   └── [ 368] logo.png │   │   │   └── [4.0K] js │   │   │   ├── [ 26K] chosen.jquery.min.js │   │   │   └── [ 788] main.js │   │   ├── [ 724] complete.php │   │   ├── [3.3K] database.php │   │   ├── [4.0K] error │   │   │   ├── [1.2K] 404.php │   │   │   └── [1.3K] 500.php │   │   ├── [ 574] halt.php │   │   ├── [ 188] installed.php │   │   ├── [2.9K] metadata.php │   │   ├── [4.0K] partials │   │   │   ├── [ 415] footer.php │   │   │   └── [1.3K] header.php │   │   └── [1.8K] start.php │   ├── [ 852] jest.config.js │   ├── [ 34K] license.md │   ├── [2.5K] readme.md │   ├── [ 1] scss-lint.yml │   ├── [4.0K] system │   │   ├── [3.7K] arr.php │   │   ├── [1.8K] autoloader.php │   │   ├── [1.8K] boot.php │   │   ├── [8.1K] cli.php │   │   ├── [3.2K] config.php │   │   ├── [2.3K] cookie.php │   │   ├── [4.0K] database │   │   │   ├── [5.4K] builder.php │   │   │   ├── [2.7K] connector.php │   │   │   ├── [4.0K] connectors │   │   │   │   ├── [2.0K] mysql.php │   │   │   │   └── [1.2K] sqlite.php │   │   │   ├── [ 11K] query.php │   │   │   └── [4.5K] record.php │   │   ├── [2.5K] database.php │   │   ├── [3.4K] error.php │   │   ├── [5.2K] helpers.php │   │   ├── [2.5K] input.php │   │   ├── [4.0K] request │   │   │   └── [1.7K] server.php │   │   ├── [1.1K] request.php │   │   ├── [4.0K] response │   │   │   └── [3.2K] status.php │   │   ├── [4.0K] response.php │   │   ├── [4.9K] route.php │   │   ├── [3.8K] router.php │   │   ├── [2.7K] session.php │   │   ├── [ 886] start.php │   │   ├── [6.0K] uri.php │   │   └── [2.4K] view.php │   ├── [4.0K] test │   │   ├── [1.6K] environment.js │   │   ├── [2.0K] index.js │   │   ├── [4.0K] integration │   │   │   ├── [6.3K] installation.test.js │   │   │   └── [ 389] README.md │   │   ├── [1016] peridot.php │   │   ├── [2.3K] README.md │   │   ├── [1.5K] setup.js │   │   ├── [ 570] teardown.js │   │   ├── [4.0K] travis-ci │   │   │   ├── [1013] apache_vhost │   │   │   ├── [ 644] setup-apache.sh │   │   │   └── [1.3K] setup-php-fpm.sh │   │   └── [4.0K] unit │   │   ├── [ 93] README.md │   │   ├── [3.3K] system.arr.spec.php │   │   ├── [ 62] system.cli.spec.php │   │   ├── [1.2K] system.config.spec.php │   │   ├── [2.3K] system.cookie.spec.php │   │   ├── [ 77] system.database.builder.spec.php │   │   ├── [ 87] system.database.connectors.mysql.spec.php │   │   ├── [ 79] system.database.connector.spec.php │   │   ├── [ 88] system.database.connectors.sqlite.spec.php │   │   ├── [ 75] system.database.query.spec.php │   │   ├── [ 76] system.database.record.spec.php │   │   ├── [ 68] system.database.spec.php │   │   ├── [1.4K] system.error.spec.php │   │   ├── [4.1K] system.helpers.spec.php │   │   ├── [3.2K] system.input.spec.php │   │   ├── [1.4K] system.request.server.spec.php │   │   ├── [1.1K] system.request.spec.php │   │   ├── [2.9K] system.response.status.spec.php │   │   ├── [ 70] system.router.spec.php │   │   ├── [ 65] system.route.spec.php │   │   ├── [3.6K] system.session.spec.php │   │   ├── [3.5K] system.uri.spec.php │   │   └── [4.9K] system.view.spec.php │   └── [4.0K] themes │   └── [4.0K] default │   ├── [ 446] 404.php │   ├── [2.0K] article.php │   ├── [4.0K] css │   │   ├── [1.8K] reset.css │   │   ├── [ 623] small.css │   │   └── [5.1K] style.css │   ├── [ 803] footer.php │   ├── [1.8K] functions.php │   ├── [3.5K] header.php │   ├── [4.0K] img │   │   ├── [ 140] categories.png │   │   ├── [ 263] favicon.png │   │   ├── [ 600] og_image.gif │   │   └── [ 523] search.png │   ├── [4.0K] js │   │   └── [1.8K] main.js │   ├── [ 189] page.php │   ├── [1.4K] posts.php │   └── [ 942] search.php ├── [2.8K] config.py ├── [4.0K] configs │   ├── [3.7K] apache2.conf │   ├── [ 787] app.conf │   └── [ 88] php.ini ├── [ 347] default.conf ├── [ 947] docker-compose.yml ├── [4.3K] Dockerfile ├── [ 322] Dockerfile_config ├── [1.1K] Dockerfile_poc ├── [ 41] entrypoint_poc.sh ├── [ 234] entrypoint.sh ├── [5.9K] geckodriver.log ├── [2.3M] geckodriver-v0.26.0-linux64.tar.gz ├── [ 137] index.html ├── [3.1K] poc.py ├── [ 141] README.md ├── [ 17] requirements_poc.txt ├── [ 8] requirements.txt └── [ 718] sources.list 60 directories, 334 files
Shenlong Bot has cached this for you
Remarks
    1. It is advised to access via the original source first.
    2. If the original source is unavailable, please email f.jinxu#gmail.com for a local snapshot (replace # with @).
    3. Shenlong has snapshotted the POC code for you. To support long-term maintenance, please consider donating. Thank you for your support.