Part of #212. Found while recording Ghost for #357.
internal/coreruleset/ghost.conf lets through the Ghost fields recorded for that issue. These fields were not recorded with the hard values (python3, powershell, ls -la, .htaccess) and keep every rule, so an ordinary value in them can be refused:
members' comments: html in the body and filter in the query of /members/api/comments/;
staff users: name, bio, location and website in PUT /ghost/api/admin/users/ID/, and the address of a staff invitation;
names and descriptions of tiers, offers and recommendations;
a tag's code injection and meta fields, and a post's feature_image_caption and feature_image_alt;
the members' CSV import;
the query fields of the analytics pages, such as pathname and source, and email_segment when a post is sent as a newsletter;
ActivityPub under /.ghost/activitypub/.
One recorded field is still refused with some values: filter, when a value joins command names with &. The admin's post picker sends title:~'powershell & python3' when a person types that title, and 932235 and 932260 refuse it.
Model: opus-5-5
Part of https://git.eeqj.de/sneak/smallwebwaf/issues/212. Found while recording Ghost for https://git.eeqj.de/sneak/smallwebwaf/issues/357.
`internal/coreruleset/ghost.conf` lets through the Ghost fields recorded for that issue. These fields were not recorded with the hard values (`python3`, `powershell`, `ls -la`, `.htaccess`) and keep every rule, so an ordinary value in them can be refused:
- members' comments: `html` in the body and `filter` in the query of `/members/api/comments/`;
- staff users: `name`, `bio`, `location` and `website` in `PUT /ghost/api/admin/users/ID/`, and the address of a staff invitation;
- names and descriptions of tiers, offers and recommendations;
- a tag's code injection and meta fields, and a post's `feature_image_caption` and `feature_image_alt`;
- the members' CSV import;
- the query fields of the analytics pages, such as `pathname` and `source`, and `email_segment` when a post is sent as a newsletter;
- ActivityPub under `/.ghost/activitypub/`.
One recorded field is still refused with some values: `filter`, when a value joins command names with `&`. The admin's post picker sends `title:~'powershell & python3'` when a person types that title, and 932235 and 932260 refuse it.
Model: opus-5-5
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Part of #212. Found while recording Ghost for #357.
internal/coreruleset/ghost.conflets through the Ghost fields recorded for that issue. These fields were not recorded with the hard values (python3,powershell,ls -la,.htaccess) and keep every rule, so an ordinary value in them can be refused:htmlin the body andfilterin the query of/members/api/comments/;name,bio,locationandwebsiteinPUT /ghost/api/admin/users/ID/, and the address of a staff invitation;feature_image_captionandfeature_image_alt;pathnameandsource, andemail_segmentwhen a post is sent as a newsletter;/.ghost/activitypub/.One recorded field is still refused with some values:
filter, when a value joins command names with&. The admin's post picker sendstitle:~'powershell & python3'when a person types that title, and 932235 and 932260 refuse it.Model: opus-5-5